From 6d5c3dee0d97798f70bf965e48c3a782b3df9e7d Mon Sep 17 00:00:00 2001
From: bklLiudl <673013083@qq.com>
Date: 星期三, 10 七月 2024 10:48:25 +0800
Subject: [PATCH] Merge branch 'hwh' into Liudl
---
HTML/views/BaseSetting/Packag.html | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/HTML/views/BaseSetting/Packag.html b/HTML/views/BaseSetting/Packag.html
index 2335d89..84549ce 100644
--- a/HTML/views/BaseSetting/Packag.html
+++ b/HTML/views/BaseSetting/Packag.html
@@ -138,6 +138,7 @@
url: url,
method: 'post',
where: where,
+ parseData: FnParseData,
contentType: 'application/json',
headers:{ToKen:$.cookie('token')},
page: true,
@@ -413,7 +414,7 @@
sendData(IP + "/Basis/AddPackag", param, 'post',
function (res) {
- if (res.code == 0) { //鎴愬姛
+ if (res.code == 200) { //鎴愬姛
layer.msg(res.msg, {
icon: 1,
time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
@@ -470,7 +471,7 @@
if (doing) {
doing = false;
sendData(IP + "/Basis/DelPackag", param, 'post', function (res) {
- if (res.code == 0) { //鎴愬姛
+ if (res.code == 200) { //鎴愬姛
layer.msg(res.msg, {
icon: 1,
time: 1000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
@@ -542,7 +543,7 @@
sendData(IP + "/Basis/EditPackag", param, 'post',
function (res) {
console.log(res);
- if (res.code == 0) { //鎴愬姛
+ if (res.code == 200) { //鎴愬姛
layer.msg("淇敼鎴愬姛", {
icon: 1,
time: 1000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
--
Gitblit v1.8.0