You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
702 B
24 lines
702 B
3 years ago
|
package taobao
|
||
|
|
||
|
type TbkSpreadGetResult struct {
|
||
|
TbkSpreadGetResponse struct {
|
||
|
Results struct {
|
||
|
TbkSpread []struct {
|
||
|
Content string `json:"content"`
|
||
|
ErrMsg string `json:"err_msg"`
|
||
|
} `json:"tbk_spread"`
|
||
|
} `json:"results"`
|
||
|
TotalResults int `json:"total_results"`
|
||
|
RequestId string `json:"request_id"`
|
||
|
} `json:"tbk_spread_get_response"`
|
||
|
}
|
||
|
|
||
|
// TbkSpreadGet 淘宝客-公用-长链转短链 https://open.taobao.com/api.htm?docId=27832&docType=2&source=search
|
||
|
func (app *App) TbkSpreadGet(notMustParams ...Params) (body []byte, err error) {
|
||
|
// 参数
|
||
|
params := NewParamsWithType("taobao.tbk.spread.get", notMustParams...)
|
||
|
// 请求
|
||
|
body, err = app.request(params)
|
||
|
return
|
||
|
}
|