From 20ad0ae660e2669b4428c9b97f0cd5d48044d836 Mon Sep 17 00:00:00 2001 From: hwh <332078369@qq.com> Date: 星期四, 11 七月 2024 07:52:26 +0800 Subject: [PATCH] Merge branch 'hwh' --- HTML/views/SystemSettings/FunSetting.html | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/HTML/views/SystemSettings/FunSetting.html b/HTML/views/SystemSettings/FunSetting.html index b826016..e631df5 100644 --- a/HTML/views/SystemSettings/FunSetting.html +++ b/HTML/views/SystemSettings/FunSetting.html @@ -104,7 +104,7 @@ GroupNo: GroupNo }; sendData(IP + "/Basis/GetFunSettingList?FunSetName="+FunSetName+"&&IsEnable="+IsEnable+"&&GroupNo="+GroupNo, {}, 'get', function(res) { - if (res.code == 0) + if (res.code == 200) { //鎴愬姛 var list = res.data; $.extend(infoOptions, { @@ -256,7 +256,7 @@ doing = false; sendData(IP + "/basis/AddFunSettings", param, 'post',function(res) { console.log(res); - if (res.code == 0) + if (res.code == 200) { //鎴愬姛 layer.msg(res.msg, { icon: 1, @@ -340,7 +340,7 @@ doing = false; sendData(IP + "/Basis/DelFunSettings?Id="+data.Id+"", {} , 'get', function(res) { console.log(res); - if (res.code == 0) + if (res.code == 200) { //鎴愬姛 layer.msg(res.msg, { icon: 1, @@ -400,7 +400,7 @@ doing = false; sendData(IP + "/basis/ExitFunSettings", param, 'post', function(res) { - if (res.code == 0) + if (res.code == 200) { //鎴愬姛 layer.msg("淇敼鎴愬姛", { icon: 1, -- Gitblit v1.8.0