|
@@ -28,7 +28,7 @@ public class AppUserService {
|
|
IUserIncrementService userIncrementService;
|
|
IUserIncrementService userIncrementService;
|
|
|
|
|
|
public UserVo getUserInfo(String phoneNum, Integer cameraType) {
|
|
public UserVo getUserInfo(String phoneNum, Integer cameraType) {
|
|
- if(StringUtils.isEmpty(phoneNum) || cameraType == null){
|
|
|
|
|
|
+ if(StringUtils.isEmpty(phoneNum) ){
|
|
throw new BusinessException(LoginConstant.FAILURE_CODE_3001, LoginConstant.FAILURE_MSG_3001);
|
|
throw new BusinessException(LoginConstant.FAILURE_CODE_3001, LoginConstant.FAILURE_MSG_3001);
|
|
}
|
|
}
|
|
User user = userService.getByUserName(phoneNum);
|
|
User user = userService.getByUserName(phoneNum);
|