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