From 529f90673a95aec864a3cdd70b22aa61e45c9c4c Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Thu, 16 May 2024 12:44:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8B=BC=E5=A4=9A=E5=A4=9A=E8=81=94=E7=9B=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pdd_union/goods.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)