Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( RootEndpoint = "https://router.jd.com/api" // 京东联盟 param_json // RootEndpoint = "https://api.jd.com/routerjson" // 宙斯 360buy_param_json AppKey = "" SecretKey = "" AccessToken = "" Version = "1.0" )
Functions ¶
This section is empty.
Types ¶
type Param ¶
type Param struct { Method string `json:"method"` // API接口名称 AppKey string `json:"app_key"` // 分配给应用的AppKey AccessToken string `json:"access_token,omitempty"` // Oauth2颁发的动态令牌,暂不支持使用 Timestamp string `json:"timestamp"` // 时间戳,格式为yyyy-MM-dd HH:mm:ss,时区为GMT+8 Format string `json:"format"` // 响应格式。暂时只支持json Version string `json:"v"` // API协议版本,可选值:2.0 SignMethod string `json:"sign_method"` // 签名的摘要算法, md5 Sign string `json:"sign"` // API输入参数签名结果 ParamJson map[string]interface{} `json:"param_json,omitempty"` BuyParamJson map[string]interface{} `json:"360buy_param_json,omitempty"` }
type Union ¶
type Union struct { }
京东联盟
func (*Union) GetCommonPromotion ¶
func (*Union) QueryJingfenGoods ¶
func (*Union) QueryOrder ¶
Click to show internal directories.
Click to hide internal directories.