init
This commit is contained in:
30
src/main/java/com/newyetai/usercenter/dto/CaptchaDTO.java
Normal file
30
src/main/java/com/newyetai/usercenter/dto/CaptchaDTO.java
Normal file
@@ -0,0 +1,30 @@
|
||||
package com.newyetai.usercenter.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* @author sr on 2020-08-11
|
||||
*/
|
||||
@ApiModel("防水墙验证信息")
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
public class CaptchaDTO implements Serializable {
|
||||
|
||||
/** **/
|
||||
private static final long serialVersionUID = 4760648640763876418L;
|
||||
|
||||
@ApiModelProperty("前端回调函数返回的用户验证票据")
|
||||
@NotBlank(message = "防水墙验证票据不能为空")
|
||||
private String ticket;
|
||||
@ApiModelProperty("前端回调函数返回的随机字符串")
|
||||
@NotBlank(message = "防水墙随机字符串不能为空")
|
||||
private String randstr;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user