|
@@ -2,6 +2,7 @@ package com.ruoyi.system.domain.wx;
|
|
|
|
|
|
import javax.validation.constraints.NotBlank;
|
|
import javax.validation.constraints.NotBlank;
|
|
import javax.validation.constraints.NotNull;
|
|
import javax.validation.constraints.NotNull;
|
|
|
|
+import java.math.BigDecimal;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 预支付请求类
|
|
* 预支付请求类
|
|
@@ -17,7 +18,7 @@ public class WxPayOrderReqVo {
|
|
private String orderType;
|
|
private String orderType;
|
|
|
|
|
|
@NotNull(message = "总金额不能为空!")
|
|
@NotNull(message = "总金额不能为空!")
|
|
- private Integer totalPrice;
|
|
|
|
|
|
+ private BigDecimal totalPrice;
|
|
|
|
|
|
@NotBlank(message = "商品名称不能为空!")
|
|
@NotBlank(message = "商品名称不能为空!")
|
|
private String goodsName;
|
|
private String goodsName;
|
|
@@ -36,11 +37,11 @@ public class WxPayOrderReqVo {
|
|
this.orderType = orderType;
|
|
this.orderType = orderType;
|
|
}
|
|
}
|
|
|
|
|
|
- public Integer getTotalPrice() {
|
|
|
|
|
|
+ public BigDecimal getTotalPrice() {
|
|
return totalPrice;
|
|
return totalPrice;
|
|
}
|
|
}
|
|
|
|
|
|
- public void setTotalPrice(Integer totalPrice) {
|
|
|
|
|
|
+ public void setTotalPrice(BigDecimal totalPrice) {
|
|
this.totalPrice = totalPrice;
|
|
this.totalPrice = totalPrice;
|
|
}
|
|
}
|
|
|
|
|