|
@@ -165,12 +165,13 @@ func (this *OrderController) OrderList() {
|
|
|
item.OrderStatusText = "退款关闭"
|
|
|
}
|
|
|
|
|
|
- switch v.PaymentType {
|
|
|
- case 1:
|
|
|
+ //TradeType string `comment:"交易类型,枚举值:JSAPI:公众号支付 、 NATIVE:扫码支付 、 App:App支付 、 MICROPAY:付款码支付 、 MWEB:H5支付 、 FACEPAY:刷脸支付"`
|
|
|
+ switch v.TradeType {
|
|
|
+ case "JSAPI":
|
|
|
item.PaymentTypeText = "小程序"
|
|
|
- case 2:
|
|
|
+ case "NATIVE":
|
|
|
item.PaymentTypeText = "PC"
|
|
|
- case 3:
|
|
|
+ case "MWEB":
|
|
|
item.PaymentTypeText = "H5"
|
|
|
}
|
|
|
|
|
@@ -425,14 +426,16 @@ func (this *OrderController) OrderRefundList() {
|
|
|
item.OrderStatusText = "退款关闭"
|
|
|
}
|
|
|
|
|
|
- switch v.PaymentType {
|
|
|
- case 1:
|
|
|
+ //TradeType string `comment:"交易类型,枚举值:JSAPI:公众号支付 、 NATIVE:扫码支付 、 App:App支付 、 MICROPAY:付款码支付 、 MWEB:H5支付 、 FACEPAY:刷脸支付"`
|
|
|
+ switch v.TradeType {
|
|
|
+ case "JSAPI":
|
|
|
item.PaymentTypeText = "小程序"
|
|
|
- case 2:
|
|
|
+ case "NATIVE":
|
|
|
item.PaymentTypeText = "PC"
|
|
|
- case 3:
|
|
|
+ case "MWEB":
|
|
|
item.PaymentTypeText = "H5"
|
|
|
}
|
|
|
+
|
|
|
item.UserId = v.UserId
|
|
|
item.RealName = v.RealName
|
|
|
item.Mobile = v.Mobile
|