From 7ceb9b642fc01412fc4fe3e1a44f55cc79c10c88 Mon Sep 17 00:00:00 2001
From: hwh <332078369@qq.com>
Date: 星期一, 15 七月 2024 17:00:31 +0800
Subject: [PATCH] Merge branch 'hwh'
---
Pda/View/login.html | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Pda/View/login.html b/Pda/View/login.html
index 837a106..8c75686 100644
--- a/Pda/View/login.html
+++ b/Pda/View/login.html
@@ -195,12 +195,12 @@
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";
});
--
Gitblit v1.8.0