fix: upload api 3
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
d989a617f4
commit
6ad09ad9fc
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue