diff --git a/app/api/v1/api.py b/app/api/v1/api.py index dbcd19f..c9e89d0 100644 --- a/app/api/v1/api.py +++ b/app/api/v1/api.py @@ -23,7 +23,7 @@ def wechat_login(files_data): try: result = rpc.storage.upload(file_name=str(session['user_id']+f'_{f.filename}'), file_binary=f.read(), - bucket='', + bucket='bodyrecord', folder='avatar', app='bodyrecord') except Exception as e: