fix:支付
This commit is contained in:
parent
0a4368ba7f
commit
287ee4db37
|
@ -116,8 +116,8 @@ func GetAmountInfoFormat(req *gmodel.AmountInfo) gmodel.AmountInfo {
|
||||||
// 处理商品数量
|
// 处理商品数量
|
||||||
func GetPurchaseQuantity(req *gmodel.PurchaseQuantity) gmodel.PurchaseQuantity {
|
func GetPurchaseQuantity(req *gmodel.PurchaseQuantity) gmodel.PurchaseQuantity {
|
||||||
return gmodel.PurchaseQuantity{
|
return gmodel.PurchaseQuantity{
|
||||||
Initiate: strconv.FormatInt(req.Initiate.(int64), 10),
|
Initiate: strconv.FormatInt(int64(req.Initiate.(float64)), 10),
|
||||||
Current: strconv.FormatInt(req.Current.(int64), 10),
|
Current: strconv.FormatInt(int64(req.Current.(float64)), 10),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user