Commit 1d75cb74 by dong

fix20220519

parent 16bbe04c
......@@ -308,8 +308,8 @@ def prolink():
result_bylink = [item.product for item in edata if item.score > cent]
else:
return jsonify(code=RET.DATAERR, msg="参数错误")
if not result_bylink:
return jsonify(code=RET.NODATA, msg="查无数据!")
# if not result_bylink:
# return jsonify(code=RET.NODATA, msg="查无数据!")
df = result_bylink[(page - 1) * perpage:page * perpage]
data = {"df": df, "size": res}
......
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