小程序微信支付
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
package com.cool.store.dto.wx;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 动态下单参数
|
||||
*/
|
||||
@Data
|
||||
@ApiModel
|
||||
public class PreOrderDTO {
|
||||
/**
|
||||
* 订单号(业务)
|
||||
*/
|
||||
@ApiModelProperty("订单号")
|
||||
private String outTradeNo;
|
||||
/**
|
||||
* 用户openId
|
||||
*/
|
||||
@ApiModelProperty("用户openId")
|
||||
private String wxOpenId;
|
||||
/**
|
||||
* 订单描述
|
||||
*/
|
||||
@ApiModelProperty("订单描述")
|
||||
private String description;
|
||||
/**
|
||||
* 订单总金额,单位为分
|
||||
*/
|
||||
@ApiModelProperty("订单总金额")
|
||||
private int total;
|
||||
|
||||
public PreOrderDTO(String outTradeNo, String wxOpenId, String description, int total) {
|
||||
this.outTradeNo = outTradeNo;
|
||||
this.wxOpenId = wxOpenId;
|
||||
this.description = description;
|
||||
this.total = total;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user