lyhzzz 3 years ago
parent
commit
93af672981
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/fdkankan/ucenter/service/impl/LoginService.java

+ 1 - 1
src/main/java/com/fdkankan/ucenter/service/impl/LoginService.java

@@ -177,7 +177,7 @@ public class LoginService {
             throw new BusinessException(LoginConstant.FAILURE_CODE_3035, LoginConstant.FAILURE_MSG_3035);
         }
         if(!redisUtil.hasKey(uuid)){
-            throw new BusinessException(LoginConstant.FAILURE_CODE_3035, LoginConstant.FAILURE_MSG_3035);
+            throw new BusinessException(LoginConstant.FAILURE_CODE_3004, LoginConstant.FAILURE_MSG_3004);
         }
         String childName = redisUtil.get(uuid);
         Camera camera = cameraService.getBySnCode(childName);