feat: update api
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
35893af67d
commit
14a27437a1
|
@ -13,6 +13,7 @@ def wechat_login(json_data):
|
|||
try:
|
||||
result = rpc.admin.wechat_login(json_data['code'])
|
||||
except Exception as e:
|
||||
# TODO 返回 apiflask 的 json 格式的 error
|
||||
raise e
|
||||
return result
|
||||
|
||||
|
@ -24,5 +25,6 @@ def refresh_token(query_data):
|
|||
try:
|
||||
result = rpc.admin.refresh_token(query_data['refresh_token'])
|
||||
except Exception as e:
|
||||
# TODO 返回 apiflask 的 json 格式的 error
|
||||
raise e
|
||||
return result
|
Loading…
Reference in New Issue