|
@@ -46,9 +46,6 @@ public class AppCameraService {
|
|
|
if(StringUtils.isEmpty(userName) || cameraType == null){
|
|
|
throw new BusinessException(LoginConstant.FAILURE_CODE_3001, LoginConstant.FAILURE_MSG_3001);
|
|
|
}
|
|
|
- if(cameraType == 4){
|
|
|
- cameraType = 1;
|
|
|
- }
|
|
|
User user = userService.getByUserName(userName);
|
|
|
if(user == null){
|
|
|
throw new BusinessException(LoginConstant.FAILURE_CODE_3015, LoginConstant.FAILURE_MSG_3015);
|