From a137e53927c81b1e7e125cd3faf32eb10cfc7ffa Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Mon, 16 Oct 2023 15:09:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kuaishou/kuaishou.go | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/kuaishou/kuaishou.go b/kuaishou/kuaishou.go index dd622c1..842e20f 100644 --- a/kuaishou/kuaishou.go +++ b/kuaishou/kuaishou.go @@ -74,6 +74,19 @@ func GetKuishouOrder(signSecret string, param map[string]string) (string, error) //https://open.kwaixiaodian.com/zone/docs/api?name=open.distribution.cps.leader.order.detail&version=1 +//https://open.kwaixiaodian.com/zone/docs/api?name=open.distribution.selection.pick&version=1 橱窗 +func GetKuishouSelectionPick(signSecret string, param map[string]string) (string, error) { + return SendPost("open.distribution.selection.pick", signSecret, param) +} + +//https://open.kwaixiaodian.com/zone/docs/api?name=open.user.info.get&version=1 用户信息 +func GetKuishouUser(signSecret string, param map[string]string) (string, error) { + return SendGet("open.user.info.get", signSecret, param) +} +func GetKuishouOrderDetail(signSecret string, param map[string]string) (string, error) { + return SendGet("open.distribution.cps.leader.order.detail", signSecret, param) +} + //https://open.kwaixiaodian.com/zone/docs/api?name=open.distribution.cps.kwaimoney.selection.item.list&version=1 func GetKuishouCpsGoods(signSecret string, param map[string]string) (string, error) { return SendGet("open.distribution.cps.kwaimoney.selection.item.list", signSecret, param) @@ -94,16 +107,3 @@ func GetKuishouCpsPid(signSecret string, param map[string]string) (string, error func GetKuishouCpsOrder(signSecret string, param map[string]string) (string, error) { return SendPost("open.distribution.cps.kwaimoney.order.list", signSecret, param) } - -//https://open.kwaixiaodian.com/zone/docs/api?name=open.distribution.selection.pick&version=1 橱窗 -func GetKuishouSelectionPick(signSecret string, param map[string]string) (string, error) { - return SendPost("open.distribution.selection.pick", signSecret, param) -} - -//https://open.kwaixiaodian.com/zone/docs/api?name=open.user.info.get&version=1 用户信息 -func GetKuishouUser(signSecret string, param map[string]string) (string, error) { - return SendGet("open.user.info.get", signSecret, param) -} -func GetKuishouOrderDetail(signSecret string, param map[string]string) (string, error) { - return SendGet("open.distribution.cps.leader.order.detail", signSecret, param) -}