feat: update api
continuous-integration/drone/push Build is passing Details

This commit is contained in:
BryantHe 2023-08-11 17:32:48 +08:00
parent d91f410668
commit 35893af67d
1 changed files with 4 additions and 1 deletions

View File

@ -21,5 +21,8 @@ def wechat_login(json_data):
@auth.input(RefreshTokenIn, location='query')
@auth.output(RefreshTokenOut)
def refresh_token(query_data):
try:
result = rpc.admin.refresh_token(query_data['refresh_token'])
except Exception as e:
raise e
return result