Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type QimenClient ¶ added in v0.0.7
type QimenClient struct {
Config QimenConfig
}
func NewGwdtQimenClient ¶ added in v0.0.7
func NewGwdtQimenClient(qimenConfig QimenConfig) *QimenClient
func (QimenClient) Call ¶ added in v0.0.7
func (c QimenClient) Call(request *QimenRequest) *QimenResponse
type QimenConfig ¶ added in v0.0.7
type QimenConfig struct { QimenUrl string `json:"qimen_url"` QimenAppKey string `json:"qimen_appkey"` QimenAppSecret string `json:"qimen_appsecret"` Sid string `json:"sid"` // 卖家账号 WdtAppKey string `json:"wdt_appkey"` // 旺店通旗舰版appkey WdtAppSecret string `json:"wdt_appsecret"` // 旺店通旗舰版appsecret TargetAppkey string `json:"target_appkey"` }
type QimenError ¶ added in v0.0.7
type QimenRequest ¶ added in v0.0.7
type QimenRequest = Request
type QimenResponse ¶ added in v0.0.7
type QimenResponse struct { Request *QimenRequest Status int64 Error *QimenError DateTime string // 按照旺店通规则的请求时间戳 Sign string WdtSign string // 按照旺店通规则的签名 Data string TotalCount int64 }
Click to show internal directories.
Click to hide internal directories.