package com.nova.sankuai.domain.api.yangqianguan.response;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
@ApiModel(value = "短信验证码校验响应参数")
|
@Data
|
public class CodeVerifyResponse {
|
|
@ApiModelProperty(value = "短信验证码状态-验证码校验成功,业务成功")
|
public static final Integer STATUS_SUCCESS = 0;
|
@ApiModelProperty(value = "短信验证码状态-验证码校验失效,机构需向用户重新发送验证码")
|
public static final Integer STATUS_INVALID = 1;
|
@ApiModelProperty(value = "短信验证码状态-验证码校验成功,但需要多轮验证,机构需向用户重新发送验证码")
|
public static final Integer STATUS_MULTIPLE = 2;
|
@ApiModelProperty(value = "短信验证码状态-验证码校验失败,机构无需向用户重新发送验证码")
|
public static final Integer STATUS_FAIL = 3;
|
|
|
@ApiModelProperty(value = "短信验证码状态")
|
private Integer status;
|
|
@ApiModelProperty(value = "信息 验证码校验失败下非空")
|
private String message;
|
|
}
|