From 1ac2c31898b2a10906c0058b1b62f73f5ea6daf9 Mon Sep 17 00:00:00 2001
From: zhaowc <526854230@qq.com>
Date: 星期四, 29 八月 2024 09:07:44 +0800
Subject: [PATCH] Merge branch 'master' of http://47.95.120.53:8083/r/JC26WMS
---
Pda/View/login.html | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Pda/View/login.html b/Pda/View/login.html
index 837a106..2693d23 100644
--- a/Pda/View/login.html
+++ b/Pda/View/login.html
@@ -195,17 +195,17 @@
time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
});
} else {
- if(res.code==200){//鎴愬姛
+ if(res.code==0){//鎴愬姛
layer.msg('鐧婚檰鎴愬姛', {
icon: 1,
time: 500 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
}, function () {
- $.cookie('token', res.ToKen.TokenStr);
+ $.cookie('token', res.data);
//鍥炶皟
location.href="/View/index.html";
});
}else{//涓嶆垚鍔�
- layer.msg(res.ErrorMsg, {
+ layer.msg(res.msg, {
icon: 2,
time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
}, function () {
--
Gitblit v1.8.0