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) -}