优化
This commit is contained in:
@ -96,7 +96,7 @@ public class AppBgtProjectRecruitController extends BaseController {
|
||||
@RepeatSubmit
|
||||
@PostMapping()
|
||||
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){
|
||||
throw new BaseException("当前用户还未实名认证!");
|
||||
}
|
||||
|
Reference in New Issue
Block a user