huangjiajun 7 месяцев назад
Родитель
Сommit
fa7fc90ea1
1 измененных файлов: 4 добавлений и 4 удалений
  1. +4
    -4
      pdd_union/goods.go

+ 4
- 4
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
}


Загрузка…
Отмена
Сохранить