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/Login.html | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/HTML/views/Login.html b/HTML/views/Login.html index 69452cf..b3dddba 100644 --- a/HTML/views/Login.html +++ b/HTML/views/Login.html @@ -112,7 +112,7 @@ }; sendData(IP + "/WeatherForecast/Login", param, 'post', function (res) { console.log(res); - if (res.code == 200) { //鎴愬姛 + if (res.code == 0) { //鎴愬姛 $.cookie('token', res.data); layer.msg("鐧诲綍鎴愬姛", { icon: 1, -- Gitblit v1.8.0