|
|
@@ -20,6 +20,14 @@ func GetGoods(acctoken string, args map[string]string) []ChanxuanTikTokGoods { |
|
|
|
json.Unmarshal([]byte(str), &list) |
|
|
|
return list |
|
|
|
} |
|
|
|
func GetGoodsCate(acctoken string, args map[string]string) ChanxuanTikTokGoodsDetail { |
|
|
|
//goods_id |
|
|
|
send, _ := Send("/jx/v1/partner/product/categoryQry", acctoken, args) |
|
|
|
var list ChanxuanTikTokGoodsDetail |
|
|
|
str := gjson.Get(send, "data").String() |
|
|
|
json.Unmarshal([]byte(str), &list) |
|
|
|
return list |
|
|
|
} |
|
|
|
func GetGoodsDetail(acctoken string, args map[string]string) ChanxuanTikTokGoodsDetail { |
|
|
|
//goods_id |
|
|
|
send, _ := Send("/jx/v1/partner/product/jxGoodsDetails", acctoken, args) |
|
|
|