|
|
|
@ -80,6 +80,8 @@ public class UserAccountController {
|
|
|
|
|
@Max(value = 3, message = "最小值为1")
|
|
|
|
|
@Schema(title = "状态",description = "1审核通过;2审核拒绝;3停用")
|
|
|
|
|
private Integer status;
|
|
|
|
|
@Schema(title = "拒绝原因")
|
|
|
|
|
private String reason;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Operation(summary = "关联账号审核")
|
|
|
|
@ -95,6 +97,7 @@ public class UserAccountController {
|
|
|
|
|
}
|
|
|
|
|
UpdateWrapper<UserAccount> updateWrapper = new UpdateWrapper<>();
|
|
|
|
|
updateWrapper.eq("id", param.getId()).set("status",param.getStatus()).set("updateAt",LocalDateTime.now());
|
|
|
|
|
updateWrapper.set("reason",param.getStatus()==3?param.getReason():"");
|
|
|
|
|
userAccountService.update(updateWrapper);
|
|
|
|
|
return Result.success("修改完成");
|
|
|
|
|
}
|
|
|
|
|