Commit 24e74b70 by dong

fix20230721

parent 7b6d8b6c
......@@ -1754,10 +1754,10 @@ def batch_export_project1():
return jsonify(code=RET.SESSIONERR, msg="用户信息校验失败,请重新登陆后尝试!")
select_id_list = req_dic["select_id_list"]
path = './apps/statics/project_file/'
# pro_path = 'D:/中研项目代码/flask_jincheng/apps/statics/project_file/'
pro_path = 'http://39.100.39.50:5050/statics/project_file/' # 项目路径
# pro_path = SERVER_NAME + '/static/project_file/' # 项目路径
path = './apps/statics/'
# pro_path = 'D:/中研项目代码/flask_jincheng/apps/statics/'
pro_path = 'http://39.100.39.50:5050/statics/' # 项目路径
# pro_path = SERVER_NAME + '/static/' # 项目路径
if not select_id_list:
return jsonify(code=RET.PARAMERR, msg="参数不能为空!")
target_data_list = []
......@@ -1856,9 +1856,9 @@ def batch_export_project2():
current_app.logger.error(e)
return jsonify(code=RET.SESSIONERR, msg="用户信息校验失败,请重新登陆后尝试!")
select_id_list = req_dic["select_id_list"]
path = './apps/statics/project_file/'
# pro_path = 'D:/中研项目代码/flask_jincheng/apps/statics/project_file/'
pro_path = 'http://39.100.39.50:5050/statics/project_file/' # 项目路径
path = './apps/statics/'
# pro_path = 'D:/中研项目代码/flask_jincheng/apps/statics/'
pro_path = 'http://39.100.39.50:5050/statics/' # 项目路径
if not select_id_list:
return jsonify(code=RET.PARAMERR, msg="参数不能为空!")
target_data_list = []
......@@ -1972,9 +1972,9 @@ def batch_export_project3():
current_app.logger.error(e)
return jsonify(code=RET.SESSIONERR, msg="用户信息校验失败,请重新登陆后尝试!")
select_id_list = req_dic["select_id_list"]
path = './apps/statics/project_file/'
# pro_path = 'D:/中研项目代码/flask_jincheng/apps/statics/project_file/'
pro_path = 'http://39.100.39.50:5050/statics/project_file/' # 项目路径
path = './apps/statics/'
# pro_path = 'D:/中研项目代码/flask_jincheng/apps/statics/'
pro_path = 'http://39.100.39.50:5050/statics/' # 项目路径
if not select_id_list:
return jsonify(code=RET.PARAMERR, msg="参数不能为空!")
target_data_list = []
......@@ -2102,9 +2102,9 @@ def batch_export_project4():
current_app.logger.error(e)
return jsonify(code=RET.SESSIONERR, msg="用户信息校验失败,请重新登陆后尝试!")
select_id_list = req_dic["select_id_list"]
path = './apps/statics/project_file/'
# pro_path = 'D:/中研项目代码/flask_jincheng/apps/statics/project_file/'
pro_path = 'http://39.100.39.50:5050/statics/project_file/' # 项目路径
path = './apps/statics/'
# pro_path = 'D:/中研项目代码/flask_jincheng/apps/statics/'
pro_path = 'http://39.100.39.50:5050/statics/' # 项目路径
if not select_id_list:
return jsonify(code=RET.PARAMERR, msg="参数不能为空!")
target_data_list = []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment