修改response
This commit is contained in:
parent
8ab8c3e38d
commit
15aa5a467a
2
run.py
2
run.py
|
@ -149,7 +149,7 @@ def run_ts_predict():
|
|||
resp.headers["Content-Disposition"] = "attachment; filename*=utf-8''{}".format(file_name)
|
||||
resp.headers["Content-type"] = "application/x-xlsx"
|
||||
else:
|
||||
resp = make_response(resp_info)
|
||||
resp = make_response(json.dumps(resp_info))
|
||||
resp.status_code = 200
|
||||
return resp
|
||||
|
||||
|
|
Loading…
Reference in New Issue