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:
|
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:
|
||||||
|
|
Loading…
Reference in New Issue