Bladeren bron

用户模块: 修复抛出设备超过登录数时不返回memberId的问题

songfuqiang 1 jaar geleden
bovenliggende
commit
2ba100d3eb

+ 1 - 1
backend-core/src/main/java/cn/kdan/pdf/backend/core/controller/AuthController.java

@@ -109,7 +109,7 @@ public class AuthController {
         if(StringUtils.isEmpty(loginInfoVo.getMessage())){
             return new AppResultMap<>(CommonConstant.SUCCESS,CommonConstant.CODE_SUCCESS,loginInfoVo);
         }else{
-            return new AppResultMap<>(CommonConstant.EXCEPTION_CODE_RUNTIME_ERROR,loginInfoVo.getMessage(),loginInfoVo);
+            return new AppResultMap<>(CommonConstant.EXCEPTION_CODE_TOO_MANY_DEVICE_ERROR,loginInfoVo.getMessage(),loginInfoVo);
         }
 
     }