feat : 将验证码改简单
This commit is contained in:
@@ -25,10 +25,5 @@
|
||||
<artifactId>common-swagger</artifactId>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>cn.fateverse</groupId>
|
||||
<artifactId>common-decrypt</artifactId>
|
||||
<!-- <optional>true</optional>-->
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
@@ -1,33 +0,0 @@
|
||||
package cn.fateverse.admin.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import cn.fateverse.common.decrypt.annotation.EncryptField;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
/**
|
||||
* @author Clay
|
||||
* @date 2024/2/5 16:37
|
||||
*/
|
||||
@Data
|
||||
@ApiModel("接口开关Dto")
|
||||
public class MappingSwitchDto {
|
||||
/**
|
||||
* key作为唯一编号
|
||||
*/
|
||||
@NotBlank(message = "唯一编号不能为空")
|
||||
@ApiModelProperty("唯一编号不能为空")
|
||||
@EncryptField
|
||||
private String key;
|
||||
|
||||
/**
|
||||
* 当前方法的状态,true为正常放行,false为关闭
|
||||
*/
|
||||
@NotNull(message = "状态不能为空")
|
||||
@ApiModelProperty("当前方法的状态,true为正常放行,false为关闭")
|
||||
private Boolean state;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user