Merge branch 'feat-zjy-issue-008' into dev
This commit is contained in:
commit
9bb1cbc840
@ -307,11 +307,6 @@ func CreateAntomPay(c *gin.Context) {
|
||||
temp := int64(math.Round(float64(info.Amount * 100)))
|
||||
orderAmountInCents += temp
|
||||
}
|
||||
if orderAmountInCents == 0 {
|
||||
fmt.Println("子套餐金额加起来是0,orderAmountInCents:", orderAmountInCents)
|
||||
service.Error(c, errors.New(common.InvalidOrderAmount))
|
||||
return
|
||||
}
|
||||
|
||||
fmt.Println("orderAmountInCents :", orderAmountInCents)
|
||||
fmt.Println("req.ProductAllPrice :", req.ProductAllPrice)
|
||||
|
Loading…
Reference in New Issue
Block a user