diff --git a/app/md/md_order.go b/app/md/md_order.go index 5ee6618..86beb45 100644 --- a/app/md/md_order.go +++ b/app/md/md_order.go @@ -39,6 +39,7 @@ type CouponList struct { Img string `json:"img"` Content string `json:"content"` IsCanUse string `json:"is_can_use"` + Info string `json:"info"` NotUseStr string `json:"not_use_str"` } type Sku struct { diff --git a/app/svc/svc_order.go b/app/svc/svc_order.go index b3c4fe0..3763636 100644 --- a/app/svc/svc_order.go +++ b/app/svc/svc_order.go @@ -266,6 +266,7 @@ func CommCoupon(c *gin.Context, totalPrice string) map[string]interface{} { Label: "全部商品可用", Img: item.Img, Content: item.Info, + Info: item.Info, IsCanUse: "0", NotUseStr: "", }