From 568c763084b926a6f2d632b7ac65b9ec8280752f Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 10 六月 2025 15:41:34 +0800 Subject: [PATCH] 网页功能完善 --- kp_html/kp/js/http.js | 47 ++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 46 insertions(+), 1 deletions(-) diff --git a/kp_html/kp/js/http.js b/kp_html/kp/js/http.js index 942fdc8..9d1c5aa 100644 --- a/kp_html/kp/js/http.js +++ b/kp_html/kp/js/http.js @@ -250,6 +250,19 @@ plate: plate }, callback); }, + delete_forbidden_plate: function(plate, callback) { + http_util.http_request("/kpl/del_forbidden_plate", { + plate: plate + }, callback); + }, + list_forbidden_plate: function(callback) { + http_util.http_request("/kpl/list_forbidden_plate", { + }, callback); + }, + list_deleted_forbidden_plate :function(callback){ + http_util.http_request("/kpl/list_deleted_forbidden_plate", { + }, callback); + }, // 鑾峰彇鏉垮潡涓嬬殑浠g爜 get_plate_codes: function(plate, day, callback) { var params = { @@ -474,7 +487,39 @@ result = JSON.parse(result); callback(result); }); - } + }, + + get_big_order_deal_info:function(code, callback){ + http_util.http_request("/get_l2_subscript_codes", { + code: code + }, callback); + }, + + get_all_special_codes:function(callback){ + http_util.http_request("/get_all_special_codes", { + }, callback); + }, + get_new_blocks_special_codes:function(callback){ + http_util.http_request("/get_new_blocks_special_codes", { + }, callback); + }, + // 璁剧疆绱鎴愪氦澶у崟鐨勯槇鍊� + set_total_deal_big_order_threshold_money: function(code, money, callback) { + var params = { + type: "common", + data: { + ctype: "set_total_deal_big_order_threshold_money", + code: code, + money:money + }, + sign: '' + } + http_util.socket_request(JSON.stringify(params), function(result) { + result = JSON.parse(result); + callback(result); + }); + }, + -- Gitblit v1.8.0