lyhzzz před 9 měsíci
rodič
revize
09b61d01e8

+ 2 - 2
src/main/java/com/fdkankan/manage/service/impl/JyUserPlatformServiceImpl.java

@@ -76,10 +76,10 @@ public class JyUserPlatformServiceImpl extends ServiceImpl<IJyUserPlatformMapper
 
         JyUser jyUser = jyUserService.getById(param.getId());
         if(jyUser!= null && jyUser.getStatus() !=1){
-            throw new BusinessException(ResultCode.JY_ID_NO_EXIST);
+            throw new BusinessException(ResultCode.USER_BAN);
         }
         if(jyUser == null){
-            throw new BusinessException(ResultCode.USER_BAN);
+            throw new BusinessException(ResultCode.JY_ID_NO_EXIST);
         }
         SysUser byId = sysUserService.getById(jyUser.getSysUserId());
         if(byId.getRoleId() != 47L ){