src/main/java/cc/mrbird/febs/mall/dto/UnfreezeDto.java
@@ -5,17 +5,18 @@ import lombok.Data; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; @Data @ApiModel(value = "UnfreezeDto", description = "参数接收类") public class UnfreezeDto { @NotBlank(message = "用户ID不能为空") @NotNull(message = "用户ID不能为空") @ApiModelProperty(value = "用户ID") private Long memberId; @NotBlank(message = "类型不能为空") @NotNull(message = "类型不能为空") @ApiModelProperty(value = "类型 1:本人解冻 2:上级解冻") private int type; private Integer type; }