fix: upload api 3
continuous-integration/drone/push Build is passing Details

This commit is contained in:
BryantHe 2023-08-16 15:40:33 +08:00
parent d989a617f4
commit 6ad09ad9fc
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ def wechat_login(files_data):
try: try:
result = rpc.storage.upload(file_name=str(session['user_id']+f'_{f.filename}'), result = rpc.storage.upload(file_name=str(session['user_id']+f'_{f.filename}'),
file_binary=f.read(), file_binary=f.read(),
bucket='', bucket='bodyrecord',
folder='avatar', folder='avatar',
app='bodyrecord') app='bodyrecord')
except Exception as e: except Exception as e: