add: api for profiling 3
continuous-integration/drone/push Build is passing Details

This commit is contained in:
BryantHe 2023-10-26 13:21:54 +08:00
parent 512fa8226f
commit 26bd20bb13
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ def get_image_presign_url(query_data):
@api.input(ProfilingIn, location='query')
@api.doc(summary='此接口用于性能测试', description='此接口用于性能测试')
def profiling(query_data):
result = rpc.admin.identify(query_data['token'])
result = rpc.admin.identify(query_data.get('token', 'xxxxxx'))
return result