From 466fff2dc251cc78da0a95dc9db5e2f782bcde75 Mon Sep 17 00:00:00 2001
From: hwh <332078369@qq.com>
Date: 星期二, 02 七月 2024 17:00:12 +0800
Subject: [PATCH] 接口
---
HTML/views/BaseSetting/Materials.html | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/HTML/views/BaseSetting/Materials.html b/HTML/views/BaseSetting/Materials.html
index dfbbea7..4b67082 100644
--- a/HTML/views/BaseSetting/Materials.html
+++ b/HTML/views/BaseSetting/Materials.html
@@ -459,7 +459,7 @@
doing = false;
sendData(IP + "/Basis/AddMate", param, 'post',function(res) {
console.log(res);
- if (res.code == 0) { //鎴愬姛
+ if (res.code == 200) { //鎴愬姛
layer.msg(res.msg, {
icon: 1,
time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
@@ -559,7 +559,7 @@
doing = false;
sendData(IP + "/Basis/DelMate?Id="+data.Id+"", {} , 'get', function(res) {
console.log(res);
- if (res.code == 0) { //鎴愬姛
+ if (res.code == 200) { //鎴愬姛
layer.msg(res.msg, {
icon: 1,
time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
@@ -641,7 +641,7 @@
doing = false;
sendData(IP + "/Basis/ExitMate", param, 'post',
function(res) {
- if (res.code == 0) //鎴愬姛
+ if (res.code == 200) //鎴愬姛
{
layer.msg("淇敼鎴愬姛", {
icon: 1,
--
Gitblit v1.8.0