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
d91f410668
commit
35893af67d
|
@ -21,5 +21,8 @@ def wechat_login(json_data):
|
|||
@auth.input(RefreshTokenIn, location='query')
|
||||
@auth.output(RefreshTokenOut)
|
||||
def refresh_token(query_data):
|
||||
result = rpc.admin.refresh_token(query_data['refresh_token'])
|
||||
try:
|
||||
result = rpc.admin.refresh_token(query_data['refresh_token'])
|
||||
except Exception as e:
|
||||
raise e
|
||||
return result
|
Loading…
Reference in New Issue