|
@@ -643,7 +643,7 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
|
|
|
if (Validator.isEmpty(userVo.getRealName()) || Validator.isEmpty(userVo.getIdCard()) || Validator.isEmpty(userVo.getTelPhone())) {
|
|
|
return "用户信息缺失";
|
|
|
}
|
|
|
- userVo.setRealName(userVo.getRealName().trim());
|
|
|
+ userVo.setRealName(userVo.getRealName().replace(" ", ""));
|
|
|
if(Validator.isNotEmpty(configService.selectConfigByKeyNoCache("office.account"))){
|
|
|
OFFICIALPUSH_INFOACCOUNT = configService.selectConfigByKeyNoCache("office.account");
|
|
|
OFFICIALPUSH_TOKEN = configService.selectConfigByKeyNoCache("office.token");
|
|
@@ -1136,7 +1136,7 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
|
|
|
return "用户不存在";
|
|
|
}
|
|
|
if(Validator.isNotEmpty(userVo.getRealName())){
|
|
|
- userVo.setRealName(userVo.getRealName().trim());
|
|
|
+ userVo.setRealName(userVo.getRealName().replace(" ", ""));
|
|
|
}
|
|
|
if (Validator.isEmpty(userVo.getInterfacePushId())) {
|
|
|
return "没开通信息推送";
|