huangjiajun vor 1 Jahr
Ursprung
Commit
a137e53927
1 geänderte Dateien mit 13 neuen und 13 gelöschten Zeilen
  1. +13
    -13
      kuaishou/kuaishou.go

+ 13
- 13
kuaishou/kuaishou.go Datei anzeigen

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

Laden…
Abbrechen
Speichern