From fa7fc90ea1e2edf3996dcc4394aa7a607d8a4242 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Thu, 16 May 2024 14:14:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8B=BC=E5=A4=9A=E5=A4=9A=E8=81=94=E7=9B=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pdd_union/goods.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pdd_union/goods.go b/pdd_union/goods.go index f020aa8..2197555 100644 --- a/pdd_union/goods.go +++ b/pdd_union/goods.go @@ -17,8 +17,8 @@ func GetRecommendGoods(keyArr map[string]string, param map[string]interface{}) [ tmp["gid"] = zhios_third_party_utils.Int64ToStr(v.GoodsId) tmp["goods_title"] = v.GoodsName tmp["commission"] = float64(v.PromotionRate) / 10 - tmp["coupon_start_time"] = "0" - tmp["coupon_end_time"] = "0" + tmp["coupon_start_time"] = 0 + tmp["coupon_end_time"] = 0 if v.CouponStartTime > 0 { tmp["coupon_start_time"] = v.CouponStartTime } @@ -60,8 +60,8 @@ func GetSearchGoods(keyArr map[string]string, param map[string]interface{}) []ma tmp["gid"] = zhios_third_party_utils.Int64ToStr(v.GoodsId) tmp["goods_title"] = v.GoodsName tmp["commission"] = float64(v.PromotionRate) / 10 - tmp["coupon_start_time"] = "0" - tmp["coupon_end_time"] = "0" + tmp["coupon_start_time"] = 0 + tmp["coupon_end_time"] = 0 if v.CouponStartTime > 0 { tmp["coupon_start_time"] = v.CouponStartTime }