huangjiajun пре 1 година
родитељ
комит
138d4ea114
2 измењених фајлова са 3 додато и 3 уклоњено
  1. +1
    -1
      jingtuitui/jingtuitui.go
  2. +2
    -2
      zhimeng/jd.go

+ 1
- 1
jingtuitui/jingtuitui.go Прегледај датотеку

@@ -30,7 +30,7 @@ func JingtuituiGetCircleList(params map[string]string) []map[string]string {
"coupon": zhios_third_party_utils.AnyToString(v.GoodsInfo.DiscountPrice),
"commission_rate": zhios_third_party_utils.AnyToString(v.GoodsInfo.CommissionShare),
"commission": zhios_third_party_utils.Float64ToStr(zhios_third_party_utils.AnyToFloat64(v.GoodsInfo.FinalPrice) * (zhios_third_party_utils.AnyToFloat64(v.GoodsInfo.CommissionShare) / 100)),
"pvd": md.PVD_JD,
"pvd": md.PVD_JDS,
"share_content": v.CircleContent[0],
}
goods = append(goods, tmp)


+ 2
- 2
zhimeng/jd.go Прегледај датотеку

@@ -29,7 +29,7 @@ func JdGoods(param map[string]interface{}) []map[string]string {
"coupon": zhios_third_party_utils.IntToStr(v.CouponPrice),
"commission_rate": zhios_third_party_utils.AnyToString(v.CommissionRate),
"commission": zhios_third_party_utils.Float64ToStr((v.WlGoodsPrice - float64(v.CouponPrice)) * (zhios_third_party_utils.AnyToFloat64(v.CommissionRate) / 100)),
"pvd": md.PVD_JD,
"pvd": md.PVD_JDS,
"share_content": "",
}
goods = append(goods, tmp)
@@ -40,6 +40,6 @@ func JdGoods(param map[string]interface{}) []map[string]string {
// NewZhiMengJingDongSDK is constructor
func NewZhiMengJingDongSDK() *SDK {
jd := &SDK{}
jd.Init(md.PVD_JD)
jd.Init(md.PVD_JDS)
return jd
}

Loading…
Откажи
Сачувај