Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenerateURLFastestData ¶
type GenerateURLFastestData struct {
Result *GenerateURLFastestResult `json:"generatejdurl_result,omitempty"`
}
func (GenerateURLFastestData) Error ¶ added in v1.1.1
func (r GenerateURLFastestData) Error() string
func (GenerateURLFastestData) IsError ¶ added in v1.1.1
func (r GenerateURLFastestData) IsError() bool
type GenerateURLFastestResponse ¶
type GenerateURLFastestResponse struct { ErrorResp *api.ErrorResponnse `json:"error_response,omitempty"` Data *GenerateURLFastestData `json:"jingdong_shorturl_generateURLFastest_responce,omitempty"` }
func (GenerateURLFastestResponse) Error ¶ added in v1.1.1
func (r GenerateURLFastestResponse) Error() string
func (GenerateURLFastestResponse) IsError ¶ added in v1.1.1
func (r GenerateURLFastestResponse) IsError() bool
type GenerateURLFastestResult ¶
type GenerateURLFastestResult struct { Code string `json:"code,omitempty"` Message string `json:"codeText,omitempty"` ShortUrl string `json:"shortUrl,omitempty"` RealUrl string `json:"realUrl,omitempty"` Username string `json:"username,omitempty"` Ts int64 `json:"ts,omitempty"` }
func GenerateURLFastest ¶
func GenerateURLFastest(req *GenerateURLFastestRequest) (*GenerateURLFastestResult, error)
生成短域新的api接口
func (GenerateURLFastestResult) Error ¶ added in v1.1.1
func (r GenerateURLFastestResult) Error() string
func (GenerateURLFastestResult) IsError ¶ added in v1.1.1
func (r GenerateURLFastestResult) IsError() bool
Click to show internal directories.
Click to hide internal directories.