|
|
@@ -499,11 +499,17 @@ public class AdminApiController extends CertifyApiController {
|
|
|
} catch (ParseException e) {
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
|
|
|
UserIdentity ui = new UserIdentity();
|
|
|
BeanUtils.copyProperties(userIdentity, ui);
|
|
|
|
|
|
if (CertifySubmitType.SUBMIT.getCode().equals(saveSign)) {
|
|
|
+ User u = userService.selectByPrimaryKey(userIdentity.getUid());
|
|
|
+ if (!UserLevel.GENERAL.getCode().equals(u.getLvl())){
|
|
|
+ res.getError().add(buildError("", "已通过实名认证,无法操作!"));
|
|
|
+ return res;
|
|
|
+ }
|
|
|
ui.setProcess(IdentityProcess.COMMITTED.getCode());
|
|
|
ui.setAuditStatus(IdentityAuditStatus.COMMITTED.getCode());
|
|
|
}
|