Browse Source

拼多多联盟

master
huangjiajun 7 months ago
parent
commit
fa7fc90ea1
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      pdd_union/goods.go

+ 4
- 4
pdd_union/goods.go View File

@@ -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
}


Loading…
Cancel
Save