From 0cd7adb27af908b7d0ce0db697f9567d77bcbeb2 Mon Sep 17 00:00:00 2001
From: zhangchao <zc857179121@qq.com>
Date: 星期五, 30 八月 2024 13:44:56 +0800
Subject: [PATCH] 对照协议调整

---
 src/main/webapp/views/login.html |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/main/webapp/views/login.html b/src/main/webapp/views/login.html
index 57329ed..aca907d 100644
--- a/src/main/webapp/views/login.html
+++ b/src/main/webapp/views/login.html
@@ -212,7 +212,11 @@
                     if (res.code === 200){
                         localStorage.setItem("token", res.data.token);
                         localStorage.setItem("username", res.data.username);
-                        window.location.href = "index.html";
+                        if (res.data.username==="dsj1"){
+                            window.location.href = "indexTV.html";
+                        }else {
+                            window.location.href = "index.html";
+                        }
                     } else {
                         layer.msg(res.msg, {offset: '150px'});
                     }

--
Gitblit v1.9.1