diff --git a/src/main/java/club/joylink/rtss/websocket/interceptor/VSimpleInterceptor.java b/src/main/java/club/joylink/rtss/websocket/interceptor/VSimpleInterceptor.java index 412b4b4ff..dee6c7752 100644 --- a/src/main/java/club/joylink/rtss/websocket/interceptor/VSimpleInterceptor.java +++ b/src/main/java/club/joylink/rtss/websocket/interceptor/VSimpleInterceptor.java @@ -1,8 +1,10 @@ package club.joylink.rtss.websocket.interceptor; -import club.joylink.rtss.constants.Project; + + +import club.joylink.rtss.entity.project.Project; import club.joylink.rtss.services.ISysUserService; -import club.joylink.rtss.services.SysUserService; + import club.joylink.rtss.vo.AccountVO; import lombok.extern.slf4j.Slf4j; import org.springframework.http.server.ServerHttpRequest; @@ -41,7 +43,7 @@ public class VSimpleInterceptor extends BaseInterceptor { private final static String USER_ACCOUNT = "user_account"; private final static String ACCOUNT_PWD = "account_pwd"; private AccountVO checkUserInfo(Map dataMap){ - AccountVO vo = this.sysUserService.findUserByAccountAndPassword(dataMap.get(USER_ACCOUNT),dataMap.get(ACCOUNT_PWD), Project.DEFAULT); + AccountVO vo = this.sysUserService.findUserByAccountAndPassword(dataMap.get(USER_ACCOUNT),dataMap.get(ACCOUNT_PWD), Project.DEFAULT_PROJECT_CODE); return vo; } }