Commit d86c02b1 by dong

fix20230223

parent bfd8af24
......@@ -518,9 +518,9 @@ def collection_carrier():
# 收藏载体
@api_xiaocx.route('/CollectionCarrier', methods=['POST'])
@api_xiaocx.route('/CancelCollection', methods=['POST'])
# @login_required
def collection_carrier():
def cancel_collection():
req_dict = request.get_json()
id_list = req_dict.get("id_list")
flag = req_dict.get("flag") # 1地块,2楼宇,3厂房,4园区,5项目,6企业
......@@ -549,10 +549,10 @@ def collection_carrier():
return jsonify(code=RET.DBERR, msg='取消收藏失败。')
# 取消收藏
@api_xiaocx.route('/CancelCollection', methods=['POST'])
# 获取收藏列表
@api_xiaocx.route('/CollectionList', methods=['POST'])
# @login_required
def cancel_collection():
def collection_list():
req_dict = request.get_json()
id_list = req_dict.get("id_list")
flag = req_dict.get("flag") # 1地块,2楼宇,3厂房,4园区,5项目,6企业
......
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