大屏页面初始化

This commit is contained in:
2026-03-02 14:33:24 +08:00
parent 1de57f2089
commit e21ced5c40
3 changed files with 20 additions and 16 deletions

View File

@@ -31,7 +31,7 @@ public class LoginInterceptor implements HandlerInterceptor {
}
String token = (String) session.getAttribute("token");
if (StringUtils.isEmpty(token)){
if (StringUtils.isEmpty(token)) {
String json = objectMapper.writeValueAsString(Result.unauthorized());
try (PrintWriter writer = response.getWriter()) {
writer.write(json);