Browse Source

拼多多

master
huangjiajun 7 months ago
parent
commit
965c69827f
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      pdd_union/goods.go

+ 3
- 0
pdd_union/goods.go View File

@@ -100,6 +100,9 @@ func GetSearchGoodsDetail(keyArr map[string]string, param map[string]interface{}
json.Unmarshal([]byte(send), &res)
data := make([]map[string]string, 0)
for _, v := range res.GoodsSearchResponse.GoodsList {
if v.GoodsName == "" {
continue
}
tmp := make(map[string]string)
tmp["gid"] = zhios_third_party_utils.Int64ToStr(v.GoodsId)
tmp["goods_title"] = v.GoodsName


Loading…
Cancel
Save