✨ 新增认证审核能力判定接口

This commit is contained in:
2026-10-26 03:14:05 +08:00
parent 2e3853db18
commit ec926afa46
7 changed files with 166 additions and 4 deletions
@@ -0,0 +1,55 @@
/**
* BladeX Commercial License Agreement
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
* <p>
* Use of this software is governed by the Commercial License Agreement
* obtained after purchasing a license from BladeX.
* <p>
* 1. This software is for development use only under a valid license
* from BladeX.
* <p>
* 2. Redistribution of this software's source code to any third party
* without a commercial license is strictly prohibited.
* <p>
* 3. Licensees may copyright their own code but cannot use segments
* from this software for such purposes. Copyright of this software
* remains with BladeX.
* <p>
* Using this software signifies agreement to this License, and the software
* must not be used for illegal purposes.
* <p>
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
* not liable for any claims arising from secondary or illegal development.
* <p>
* Author: Chill Zhuang (bladejava@qq.com)
*/
package org.springblade.transport.pojo.vo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serial;
import java.io.Serializable;
/**
* 认证审核能力
* <p>
* 小程序端进入审核页前先取它决定空态与按钮禁用。没有权限时两个字段为 false,
* 而不是让接口返回 403——列表与详情各自仍挂权限表达式,这里只回答「能不能」。
*
* @author Chill
*/
@Data
@Schema(description = "认证审核能力")
public class CertAuditCapabilityVO implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
@Schema(description = "能否查看审核列表与详情:无权限时为 false,不抛 403")
private Boolean canView;
@Schema(description = "能否执行审核(通过/驳回):无权限时为 false,不抛 403")
private Boolean canAudit;
}