nnnn
This commit is contained in:
@@ -9,6 +9,7 @@ import com.ruoyi.cai.mapper.ConsumeLogMapper;
|
||||
import com.ruoyi.cai.mapper.UserInviteMapper;
|
||||
import com.ruoyi.cai.service.UserService;
|
||||
import com.ruoyi.common.core.domain.PageQuery;
|
||||
import com.ruoyi.common.exception.ServiceException;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@@ -49,7 +50,7 @@ public class ProxyUserManager {
|
||||
private User getUser(String usercode){
|
||||
User user = userService.getByUserCode(usercode);
|
||||
if(user == null){
|
||||
throw new RuntimeException("您的后台账户未绑定APP账户,请联系管理员操作");
|
||||
throw new ServiceException("您的后台账户未绑定APP账户,请联系管理员操作");
|
||||
}
|
||||
return user;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user