Commit 225ccd21 by vega

doc:新增银联svc支付:修改swagger说明

parent 58e8a6b3
......@@ -207,25 +207,25 @@ public class CreateOrderVo {
private String channelType;
/**
* 是否使用银联礼品卡,如果不为空则为使用
* 是否使用银联SVC卡,如果不为空则为使用
*/
@Valid
@ApiModelProperty(value = "银联礼品卡")
@ApiModelProperty(value = "银联SVC卡")
private UnionPayCard unionPayCard;
/**
* 银联礼品
* 银联SVC
*/
@Data
@ApiModel(value = "银联礼品卡类", description = "如果传了礼品卡字段,此类中属性必传")
@ApiModel(value = "银联SVC卡", description = "如果传了银联SVC卡字段,此类中属性必传")
public static class UnionPayCard {
@NotNull(message = "银联礼品卡手机号必传")
@ApiModelProperty(value = "银联礼品卡手机号",required = true)
@NotNull(message = "银联SVC卡手机号必传")
@ApiModelProperty(value = "银联SVC卡卡号(手机号)",required = true)
private String code;
@NotNull(message = "银联礼品卡密码必传")
@ApiModelProperty(value = "银联礼品卡密码",required = true)
@NotNull(message = "银联SVC卡密码必传")
@ApiModelProperty(value = "银联SVC卡密码",required = true)
private String password;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment