修改企业用户注册
This commit is contained in:
@@ -288,13 +288,6 @@ public class AppUserServiceImpl extends ServiceImpl<AppUserMapper,AppUser> imple
|
|||||||
if (registerBody == null) {
|
if (registerBody == null) {
|
||||||
throw new IllegalArgumentException("注册请求参数不能为空");
|
throw new IllegalArgumentException("注册请求参数不能为空");
|
||||||
}
|
}
|
||||||
AppUser appUser = registerBody.getAppUser();
|
|
||||||
if (appUser == null) {
|
|
||||||
throw new IllegalArgumentException("用户基础信息不能为空");
|
|
||||||
}
|
|
||||||
if (StringUtils.isEmpty(appUser.getIsCompanyUser())) {
|
|
||||||
throw new IllegalArgumentException("用户类型(isCompanyUser)不能为空");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user