revome gameid from localtion
This commit is contained in:
parent
60662e2081
commit
a5cc75432d
@ -29,8 +29,8 @@ class Cos_sdk(Resource):
|
|||||||
|
|
||||||
def post(self):
|
def post(self):
|
||||||
try:
|
try:
|
||||||
|
import uuid
|
||||||
filename = request.files.get('image-file').filename
|
filename = "{}_{}".format(uuid.uuid1(), request.files.get('image-file').filename)
|
||||||
body = request.files.get('image-file').read()
|
body = request.files.get('image-file').read()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
error = f"get filename={filename},body={body} , 'error' = {e}"
|
error = f"get filename={filename},body={body} , 'error' = {e}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user