diff --git a/jingtuitui/jingtuitui.go b/jingtuitui/jingtuitui.go index 65f4c71..866038b 100644 --- a/jingtuitui/jingtuitui.go +++ b/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) diff --git a/zhimeng/jd.go b/zhimeng/jd.go index 16f7d49..b22d77a 100644 --- a/zhimeng/jd.go +++ b/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 }