|
@@ -240,13 +240,13 @@ public class SchoolStaffController extends BaseController {
|
|
@ApiImplicitParam(name = "idcardNo", value = "身份证号码", required = true, dataType = "String")})
|
|
@ApiImplicitParam(name = "idcardNo", value = "身份证号码", required = true, dataType = "String")})
|
|
public Object realNameAuthentication(String realName, String idcardNo) {
|
|
public Object realNameAuthentication(String realName, String idcardNo) {
|
|
|
|
|
|
- if (StringUtils.isEmpty(realName)) {
|
|
|
|
|
|
+ if (StringUtils.isBlank(realName)) {
|
|
throw new BizException("姓名不能为空");
|
|
throw new BizException("姓名不能为空");
|
|
}
|
|
}
|
|
- if (StringUtils.isEmpty(idcardNo)) {
|
|
|
|
|
|
+ if (StringUtils.isBlank(idcardNo)) {
|
|
throw new BizException("身份证号不能为空");
|
|
throw new BizException("身份证号不能为空");
|
|
}
|
|
}
|
|
- schoolStaffService.realNameAuthentication(sysUserFeignService.queryUserInfo().getId(),realName, idcardNo);
|
|
|
|
|
|
+ schoolStaffService.realNameAuthentication(sysUserFeignService.queryUserInfo(),realName, idcardNo);
|
|
return succeed();
|
|
return succeed();
|
|
}
|
|
}
|
|
|
|
|