123333
This commit is contained in:
@@ -100,6 +100,14 @@ public class AuthAppController {
|
||||
return R.ok(vo);
|
||||
}
|
||||
|
||||
@PostMapping("/loginOut")
|
||||
@Operation(summary = "登出")
|
||||
@Log(title = "登出", businessType = BusinessType.OTHER, isSaveDb = false)
|
||||
public R<Void> loginOut(){
|
||||
caiLoginManager.logout();
|
||||
return R.ok();
|
||||
}
|
||||
|
||||
@PostMapping("/resetPassword")
|
||||
@Operation(summary = "重置密码")
|
||||
@Log(title = "重置密码", businessType = BusinessType.OTHER, isSaveDb = false)
|
||||
|
||||
@@ -83,7 +83,7 @@ public class UserCameraAuditServiceImpl extends ServiceImpl<UserCameraAuditMappe
|
||||
if(userCameraAudit != null && userCameraAudit.getAuditStatus() == 2){
|
||||
throw new ServiceException("您的提交的自拍认证正在审核中请耐心等待!");
|
||||
}
|
||||
|
||||
// TODO 锁
|
||||
UserCameraAudit update = new UserCameraAudit();
|
||||
update.setUserId(vo.getUserId());
|
||||
update.setAuditStatus(AuditStatusEnum.AUDITING.getCode());
|
||||
|
||||
Reference in New Issue
Block a user