From 7af7c8f19eb8ac6217dfc7af99df24be42fce2b5 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期一, 05 二月 2024 14:20:20 +0800 Subject: [PATCH] bug修复 --- middle_api_server.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/middle_api_server.py b/middle_api_server.py index 504797a..6eb1064 100644 --- a/middle_api_server.py +++ b/middle_api_server.py @@ -323,6 +323,9 @@ elif type_ == "add_sell_rule": result = hosting_api_util.sell_rule(hosting_api_util.OPERRATE_ADD, data=data_json["data"]) return_str = json.dumps(result) + elif type_ == "update_sell_rule": + result = hosting_api_util.sell_rule(hosting_api_util.OPERRATE_SET, data=data_json["data"]) + return_str = json.dumps(result) elif type_ == "del_sell_rule": id_ = data_json["data"]["id"] result = hosting_api_util.sell_rule(hosting_api_util.OPERRATE_DELETE, data={"id": id_}) -- Gitblit v1.8.0