revome gameid from localtion

This commit is contained in:
pengtao 2019-07-16 19:57:41 +08:00
parent 60662e2081
commit a5cc75432d

View File

@ -29,8 +29,8 @@ class Cos_sdk(Resource):
def post(self):
try:
filename = request.files.get('image-file').filename
import uuid
filename = "{}_{}".format(uuid.uuid1(), request.files.get('image-file').filename)
body = request.files.get('image-file').read()
except Exception as e:
error = f"get filename={filename},body={body} , 'error' = {e}"