From 511d4ceb774ce6ccc1827545a205ba55a0ff26c0 Mon Sep 17 00:00:00 2001
From: czkh <czkh@163.com>
Date: 星期一, 01 十二月 2025 09:06:14 +0800
Subject: [PATCH] #1

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

diff --git a/src/main/webapp/views/login.html b/src/main/webapp/views/login.html
index 57329ed..39f81b9 100644
--- a/src/main/webapp/views/login.html
+++ b/src/main/webapp/views/login.html
@@ -7,6 +7,7 @@
     <link rel="icon" type="image/x-icon" href="../static/images/wcs_logo.png" />
     <link rel="stylesheet" href="../static/css/animate.min.css">
     <script type="text/javascript" src="../static/layui/layui.js"></script>
+    <link rel="icon" type="image/x-icon" href="../static/images/favicon.ico" />
     <script type="text/javascript" src="../static/js/common.js"></script>
     <style>
         html{
@@ -212,7 +213,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