Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetShopVenderInfo ¶
func GetShopVenderInfo(req *GetShopVenderInfoRequest) (*vender.ShopInfo, error)
Types ¶
type GetAccessTokenNewRequest ¶
type GetAccessTokenNewRequest struct { api.BaseRequest Code string `json:"code,omitempty" codec:"code,omitempty"` }
type GetAccessTokenNewResponse ¶
type GetAccessTokenNewResponse struct { Code int `json:"code,omitempty" codec:"code,omitempty"` Msg string `json:"msg,omitempty" codec:"msg,omitempty"` AccessToken string `json:"access_token,omitempty" codec:"access_token,omitempty"` ExpiresIn int64 `json:"expires_in,omitempty" codec:"expires_in,omitempty"` RefreshToken string `json:"refresh_token,omitempty" codec:"refresh_token,omitempty"` Time uint64 `json:"time,omitempty" codec:"time,omitempty"` TokenType string `json:"token_type,omitempty" codec:"token_type,omitempty"` UserNick string `json:"user_nick,omitempty" codec:"user_nick,omitempty"` Uid string `json:"uid,omitempty" codec:"uid,omitempty"` OpenId string `json:"open_id,omitempty" codec:"open_id,omitempty"` }
func GetAccessTokenNew ¶
func GetAccessTokenNew(req *GetAccessTokenNewRequest) (*GetAccessTokenNewResponse, error)
type GetAccessTokenRequest ¶
type GetAccessTokenRequest struct { api.BaseRequest Code string `json:"code,omitempty" codec:"code,omitempty"` State string `json:"state,omitempty" codec:"state,omitempty"` RedirectUri string `json:"redirect_uri,omitempty" codec:"redirect_uri,omitempty"` }
type GetAccessTokenResponse ¶
type GetAccessTokenResponse struct { Code int `json:"code,omitempty" codec:"code,omitempty"` ErrorDesc string `json:"error_description,omitempty" codec:"error_description,omitempty"` AccessToken string `json:"access_token,omitempty" codec:"access_token,omitempty"` ExpiresIn int64 `json:"expires_in,omitempty" codec:"expires_in,omitempty"` RefreshToken string `json:"refresh_token,omitempty" codec:"refresh_token,omitempty"` Time uint64 `json:"time,omitempty" codec:"time,omitempty"` TokenType string `json:"token_type,omitempty" codec:"token_type,omitempty"` UserNick string `json:"user_nick,omitempty" codec:"user_nick,omitempty"` Uid string `json:"uid,omitempty" codec:"uid,omitempty"` OpenId string `json:"open_id,omitempty" codec:"open_id,omitempty"` }
func GetAccessToken ¶
func GetAccessToken(req *GetAccessTokenRequest) (*GetAccessTokenResponse, error)
type GetShopVenderInfoRequest ¶
type GetShopVenderInfoRequest struct {
api.BaseRequest
}
Click to show internal directories.
Click to hide internal directories.