Merge remote-tracking branch 'origin/master'
This commit is contained in:
@ -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("当前用户还未实名认证!");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user