From 888da8f97aab268eeac73078c9eccb6056de4739 Mon Sep 17 00:00:00 2001 From: liujie <1793218484@qq.com> Date: 星期三, 20 八月 2025 15:52:28 +0800 Subject: [PATCH] Merge branch '2.0' of http://120.76.84.145:10101/gitblit/r/java/PlayPai into 2.0 --- cloud-server-management/src/main/webapp/static/modular/system/vip/vip.js | 32 +------------------------------- 1 files changed, 1 insertions(+), 31 deletions(-) diff --git a/cloud-server-management/src/main/webapp/static/modular/system/vip/vip.js b/cloud-server-management/src/main/webapp/static/modular/system/vip/vip.js index 42ee1b4..159b115 100644 --- a/cloud-server-management/src/main/webapp/static/modular/system/vip/vip.js +++ b/cloud-server-management/src/main/webapp/static/modular/system/vip/vip.js @@ -75,37 +75,7 @@ ajax.start(); } }; -/** - * 下架 - */ -Vip.offShelf = function () { - if (this.check()){ - var selected = $('#' + this.id).bootstrapTable('getSelections'); - const data1 = { - siteIds:[], - type:null - }; - selected.forEach(function(obj) { - var id = obj.id; - data1.siteIds.push(id); - }); - data1.type = 2; - $.ajax({ - url: Feng.ctxPath + "/tSite/changeState", - type: "POST", - contentType: "application/json", // 设置请求头的 Content-Type - data: JSON.stringify(data1), // 将数据转换为 JSON 字符串 - success: function(response) { - Feng.success("下架成功!"); - Vip.search(); - }, - error: function(xhr, status, error) { - var errorMessage = xhr.responseText ? xhr.responseText : "下架失败!"; - Feng.error("您的网络异常!"); - } - }); - } -}; + /** * 跳转添加场地页面 */ -- Gitblit v1.7.1