From 28a60b0977d66b75fb9a2c3306840bc18ec271f6 Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期二, 19 八月 2025 17:51:18 +0800 Subject: [PATCH] 会员支付相关 --- 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