diff --git a/app/api/v1/api.py b/app/api/v1/api.py index 41f7a00..0c21ab1 100644 --- a/app/api/v1/api.py +++ b/app/api/v1/api.py @@ -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