From 61e646f821996cb702117a9747f55b9eaadb97bc Mon Sep 17 00:00:00 2001 From: hwh <332078369@qq.com> Date: 星期四, 11 七月 2024 08:50:06 +0800 Subject: [PATCH] 返回结果调整 --- HTML/views/BaseSetting/LogisticsInfo.html | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/HTML/views/BaseSetting/LogisticsInfo.html b/HTML/views/BaseSetting/LogisticsInfo.html index 7d5959d..a52b7bf 100644 --- a/HTML/views/BaseSetting/LogisticsInfo.html +++ b/HTML/views/BaseSetting/LogisticsInfo.html @@ -137,7 +137,7 @@ height: h1, id: 'LAY-app-content-list', where: param, - parseData: FnParseData, + contentType: 'application/json', headers:{ToKen:$.cookie('token')}, // toolbar:'#toolbarDemo', @@ -262,7 +262,7 @@ $(".addClass").hide(); }); sendData(IP + "/Basis/GetRoleRightList", {}, 'get', function(res) { - if (res.code == 200) { //鎴愬姛 + if (res.code == 0) { //鎴愬姛 for (var k = 0; k < res.data.length; k++) { if (res.data[k].MenuName == "缂栬緫鐗╂祦") { $(".editClass").show(); @@ -324,7 +324,7 @@ sendData(IP + "/Basis/DelsLogisticsInfo", param, 'post', function (res) { console.log(res); - if (res.code == 200) { //鎴愬姛 + if (res.code == 0) { //鎴愬姛 layer.msg(res.msg, { icon: 1, time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 @@ -376,7 +376,7 @@ }; sendData(IP + "/Basis/AddLogisticsInfo", param, 'post', function (res) { console.log(res); - if (res.code == 200) { //鎴愬姛 + if (res.code == 0) { //鎴愬姛 layer.msg(res.msg, { icon: 1, time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 @@ -428,7 +428,7 @@ }; sendData(IP + "/Basis/DelLogisticsInfo", param, 'post', function (res) { console.log(res); - if (res.code == 200) { //鎴愬姛 + if (res.code == 0) { //鎴愬姛 layer.msg(res.msg, { icon: 1, time: 1000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 @@ -483,7 +483,7 @@ sendData(IP + "/Basis/EditLogisticsInfo", param, 'post', function (res) { console.log(res); - if(res.code == 200) { //鎴愬姛 + if(res.code == 0) { //鎴愬姛 layer.msg(res.msg, { icon: 1, time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 -- Gitblit v1.8.0