Documentation ¶
Overview ¶
组件API列表 auto sdk from taobao ApiMetadata.xml version 20140725 auther: dz7changkong@qq.com
Index ¶
Constants ¶
View Source
const VersionNo = "20140725"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WidgetLoginstatusGetRequest ¶
type WidgetLoginstatusGetRequest struct {
open_taobao.TaobaoMethodRequest
}
获取当前浏览器用户在淘宝登陆状态。如果传了session并且此用户已在淘宝登陆,返回nick和userId。仅支持widget入口调用。调用入口为/widget。签名方法简化为Hmac-md5,hmac(secret+‘app_key' +app_key +'timestamp' + timestamp+secret, secret)。timestamp为60分钟内有效
func (*WidgetLoginstatusGetRequest) GetResponse ¶
func (r *WidgetLoginstatusGetRequest) GetResponse(accessToken string) (*WidgetLoginstatusGetResponse, []byte, error)
func (*WidgetLoginstatusGetRequest) SetNick ¶
func (r *WidgetLoginstatusGetRequest) SetNick(value string)
指定判断当前浏览器登陆用户是否此昵称用户,并且返回是否登陆。如果用户不一致返回未登陆,如果用户一致且已登录返回已登陆
type WidgetLoginstatusGetResponseResult ¶
type WidgetLoginstatusGetResponseResult struct {
Response *WidgetLoginstatusGetResponse `json:"widget_loginstatus_get_response"`
}
Click to show internal directories.
Click to hide internal directories.