This commit is contained in:
zt
2025-03-20 18:19:17 +08:00
parent 09b89281a9
commit acb9a6cb60

View File

@ -96,7 +96,7 @@ public class AppBgtProjectRecruitController extends BaseController {
@RepeatSubmit @RepeatSubmit
@PostMapping() @PostMapping()
public AjaxResult<Boolean> add(@Validated @RequestBody BgtProjectRecruit bo) { public AjaxResult<Boolean> add(@Validated @RequestBody BgtProjectRecruit bo) {
BgtUser byId = bgtUserService.getById(SecurityUtils.getAppUserId()); BgtUser byId = bgtUserService.selectUserByUserId(SecurityUtils.getAppUserId());
if(byId == null || byId.getIdentityCard() == null){ if(byId == null || byId.getIdentityCard() == null){
throw new BaseException("当前用户还未实名认证!"); throw new BaseException("当前用户还未实名认证!");
} }