修正实际付款金额

This commit is contained in:
2024-08-23 16:48:56 +08:00
parent 93328dac02
commit 2067fd6782
3 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ func (b *OrderSingle) AddOrderSingle(c *gin.Context) {
userCouponId = &id
}
if req.OrderPrice < 0 {
if *req.OrderPrice < 0 {
responses.FailWithMessage("价格错误", c)
return
}