diff --git a/pdd_union/goods.go b/pdd_union/goods.go index 3c2f8c0..3f6febb 100644 --- a/pdd_union/goods.go +++ b/pdd_union/goods.go @@ -50,7 +50,7 @@ func GetRecommendGoods(keyArr map[string]string, param map[string]interface{}) [ } return data } -func GetSearchGoodsDetail(keyArr map[string]string, param map[string]interface{}) []map[string]interface{} { +func GetSearchGoods(keyArr map[string]string, param map[string]interface{}) []map[string]interface{} { send, _ := Send(keyArr, "pdd.ddk.oauth.goods.search", param) var res cps_pdd.SearchGoods json.Unmarshal([]byte(send), &res) @@ -94,7 +94,7 @@ func GetSearchGoodsDetail(keyArr map[string]string, param map[string]interface{} return data } -func GetSearchGoods(keyArr map[string]string, param map[string]interface{}) []map[string]string { +func GetSearchGoodsDetail(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)