Browse Source

拼多多联盟

master
huangjiajun 7 months ago
parent
commit
fe8f103306
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      pdd_union/goods.go

+ 2
- 1
pdd_union/goods.go View File

@@ -7,7 +7,7 @@ import (
"strings"
)

func GetSearchGoods(keyArr map[string]string, param map[string]interface{}) {
func GetSearchGoods(keyArr map[string]string, param map[string]interface{}) []map[string]string {
send, _ := Send(keyArr, "pdd.ddk.oauth.goods.search", param)
var res cps_pdd.SearchGoods
json.Unmarshal([]byte(send), &res)
@@ -46,4 +46,5 @@ func GetSearchGoods(keyArr map[string]string, param map[string]interface{}) {
tmp["goods_sign"] = v.GoodsSign
data = append(data, tmp)
}
return data
}

Loading…
Cancel
Save