Commit ec3d4ea3 by dong

fix20221208

parent 2f07ed92
...@@ -465,13 +465,11 @@ def radar_enums(): ...@@ -465,13 +465,11 @@ def radar_enums():
# 校验参数完整性 # 校验参数完整性
if not all([inid]): if not all([inid]):
return jsonify(code=RET.PARAMERR, msg="参数不完整") return jsonify(code=RET.PARAMERR, msg="参数不完整")
try: try:
# name_query = "radar" + str(inid) + str("".join(area)) + str(product) # name_query = "radar" + str(inid) + str("".join(area)) + str(product)
# if redis_store.get(name_query) is not None: # if redis_store.get(name_query) is not None:
# data = json.loads(redis_store.get(name_query)) # data = json.loads(redis_store.get(name_query))
# return jsonify(code=RET.OK, msg="获取成功", data=data) # return jsonify(code=RET.OK, msg="获取成功", data=data)
enterprise = Enterprise.query.filter_by(c_type=inid) enterprise = Enterprise.query.filter_by(c_type=inid)
num_all = enterprise.count() num_all = enterprise.count()
# 企业列表选择 1234567 500强企业-上市企业-高新技术企业-专精特新企业-独角兽企业--瞪羚企业-科技型中小企业 # 企业列表选择 1234567 500强企业-上市企业-高新技术企业-专精特新企业-独角兽企业--瞪羚企业-科技型中小企业
......
...@@ -90,7 +90,7 @@ def back_login(): ...@@ -90,7 +90,7 @@ def back_login():
param = req_dict.get("param") # 揭秘参数 param = req_dict.get("param") # 揭秘参数
req_dict = json.loads(decrypt(param)) req_dict = json.loads(decrypt(param))
# name = req_dict.get('name') # name = req_dict.get('name')
name = req_dict.get('mobile') name = req_dict.get('name')
password = req_dict.get('password') password = req_dict.get('password')
# 校验参数完整性 # 校验参数完整性
......
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