pang.jiabao
2026-01-28 2bd2c83cebc29314c961632bfbbb771d0cc94936
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'});
                    }