Selaa lähdekoodia

更新

master
huangjiajun 1 vuosi sitten
vanhempi
commit
a137e53927
1 muutettua tiedostoa jossa 13 lisäystä ja 13 poistoa
  1. +13
    -13
      kuaishou/kuaishou.go

+ 13
- 13
kuaishou/kuaishou.go Näytä tiedosto

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

Ladataan…
Peruuta
Tallenna