Documentation ¶
Index ¶
- func GetEncryptPin(req *GetEncryptPinRequest) (string, error)
- type GetEncryptPinData
- type GetEncryptPinRequest
- type GetEncryptPinResponse
- type GetEncryptPinResult
- type GetSocialInfoData
- type GetSocialInfoRequest
- type GetSocialInfoResponse
- type GetUserBaseInfoByEncryPinRequest
- type GetUserBaseInfoByEncryPinResponse
- type GetUserBaseInfoByEncryPinSubResponse
- type SocialInfo
- type UserInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GetEncryptPinData ¶
type GetEncryptPinData struct { Code string `json:"code,omitempty" codec:"code,omitempty"` Result *GetEncryptPinResult `json:"result,omitempty" codec:"result,omitempty"` }
func (GetEncryptPinData) Error ¶ added in v1.1.1
func (r GetEncryptPinData) Error() string
func (GetEncryptPinData) IsError ¶ added in v1.1.1
func (r GetEncryptPinData) IsError() bool
type GetEncryptPinRequest ¶
type GetEncryptPinRequest struct { api.BaseRequest Pin string `json:"pin,omitempty" codec:"pin,omitempty"` // 明文PIN }
type GetEncryptPinResponse ¶
type GetEncryptPinResponse struct { ErrorResp *api.ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"` Data *GetEncryptPinData `json:"jingdong_jos_getEncryptPin_responce,omitempty" codec:"jingdong_jos_getEncryptPin_responce,omitempty"` }
func (GetEncryptPinResponse) Error ¶ added in v1.1.1
func (r GetEncryptPinResponse) Error() string
func (GetEncryptPinResponse) IsError ¶ added in v1.1.1
func (r GetEncryptPinResponse) IsError() bool
type GetEncryptPinResult ¶
type GetEncryptPinResult struct { Code int `json:"code,omitempty" codec:"code,omitempty"` Data string `json:"data,omitempty" codec:"data,omitempty"` RequestId string `json:"requestId,omitempty" codec:"requestId,omitempty"` }
func (GetEncryptPinResult) Error ¶ added in v1.1.1
func (r GetEncryptPinResult) Error() string
func (GetEncryptPinResult) IsError ¶ added in v1.1.1
func (r GetEncryptPinResult) IsError() bool
type GetSocialInfoData ¶
type GetSocialInfoData struct { Code string `json:"code,omitempty" codec:"code,omitempty"` ErrorDesc string `json:"error_description,omitempty" codec:"error_description,omitempty"` Info *SocialInfo `json:"returnType,omitempty" codec:"returnType,omitempty"` }
func (GetSocialInfoData) Error ¶ added in v1.1.1
func (r GetSocialInfoData) Error() string
func (GetSocialInfoData) IsError ¶ added in v1.1.1
func (r GetSocialInfoData) IsError() bool
type GetSocialInfoRequest ¶
type GetSocialInfoRequest struct { api.BaseRequest Pin string `json:"pin,omitempty" codec:"pin,omitempty"` // 用户标识 }
type GetSocialInfoResponse ¶
type GetSocialInfoResponse struct { ErrorResp *api.ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"` Data *GetSocialInfoData `json:"jingdong_user_getUserSocialInfo_responce,omitempty" codec:"jingdong_user_getUserSocialInfo_responce,omitempty"` }
func (*GetSocialInfoResponse) Error ¶ added in v1.1.1
func (r *GetSocialInfoResponse) Error() string
func (*GetSocialInfoResponse) IsError ¶ added in v1.1.1
func (r *GetSocialInfoResponse) IsError() bool
type GetUserBaseInfoByEncryPinRequest ¶
type GetUserBaseInfoByEncryPinRequest struct { api.BaseRequest Pin string `json:"pin,omitempty" codec:"pin,omitempty"` // 用户标识 LoadType int `json:"loadType,omitempty" codec:"loadType,omitempty"` // 加载类型 }
type GetUserBaseInfoByEncryPinResponse ¶
type GetUserBaseInfoByEncryPinResponse struct { ErrorResp *api.ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"` Data *GetUserBaseInfoByEncryPinSubResponse `json:"jingdong_jos_get_user_base_info_responce,omitempty" codec:"jingdong_jos_get_user_base_info_responce,omitempty"` }
func (GetUserBaseInfoByEncryPinResponse) Error ¶ added in v1.1.1
func (r GetUserBaseInfoByEncryPinResponse) Error() string
func (GetUserBaseInfoByEncryPinResponse) IsError ¶ added in v1.1.1
func (r GetUserBaseInfoByEncryPinResponse) IsError() bool
type GetUserBaseInfoByEncryPinSubResponse ¶
type GetUserBaseInfoByEncryPinSubResponse struct { Code string `json:"code,omitempty" codec:"code,omitempty"` ErrorDesc string `json:"error_description,omitempty" codec:"error_description,omitempty"` UserJosResult *UserInfo `json:"getuserbaseinfobypin_result,omitempty" codec:"getuserbaseinfobypin_result,omitempty"` }
func (GetUserBaseInfoByEncryPinSubResponse) Error ¶ added in v1.1.1
func (r GetUserBaseInfoByEncryPinSubResponse) Error() string
func (GetUserBaseInfoByEncryPinSubResponse) IsError ¶ added in v1.1.1
func (r GetUserBaseInfoByEncryPinSubResponse) IsError() bool
type SocialInfo ¶
type SocialInfo struct { Birthday string `json:"birthday,omitempty"` Gender int `json:"gender,omitempty"` YunBigImageUrl string `json:"yunBigImageUrl,omitempty" codec:"yunBigImageUrl,omitempty"` Nickname string `json:"nickname,omitempty" codec:"nickname,omitempty"` EncryPin string `json:"encry_pin,omitempty" codec:"encry_pin,omitempty"` }
type UserInfo ¶
type UserInfo struct { UserId int64 `json:"userId,omitempty" codec:"userId,omitempty"` Nickname string `json:"nickname,omitempty" codec:"nickname,omitempty"` NicknameShow string `json:"nicknameShow,omitempty" codec:"nicknameShow,omitempty"` UserLevel int `json:"userLevel,omitempty" codec:"userLevel,omitempty"` Gendar uint8 `json:"gendar,omitempty" codec:"gendar,omitempty"` YunBigImageUrl string `json:"yunBigImageUrl,omitempty" codec:"yunBigImageUrl,omitempty"` Pin string `json:"pin,omitempty" codec:"pin,omitempty"` // 明文pin Birthday string `json:"birthday,omitempty" codec:"birthday,omitempty"` // 生日 OpenId string `json:"open_id,omitempty"` // openId CountryCode string `json:"countryCode,omitempty" codec:"countryCode,omitempty"` County int64 `json:"county,omitempty" codec:"county,omitempty"` Province int64 `json:"province,omitempty" codec:"province,omitempty"` City int64 `json:"city,omitempty" codec:"city,omitempty"` Email string `json:"email,omitempty" codec:"email,omitempty"` Mobile string `json:"mobile,omitempty" codec:"mobile,omitempty"` IntactMobile string `json:"intactMobile,omitempty" codec:"intactMobile,omitempty"` EncryptEmail string `json:"encrypt_email,omitempty" codec:"encrypt_email,omitempty"` EncryptMobile string `json:"encrypt_mobile,omitempty" codec:"encrypt_mobile,omitempty"` EncryptIntactMobile string `json:"encrypt_intactMobile,omitempty" codec:"encrypt_intactMobile,omitempty"` EncryptAccountId uint64 `json:"encrypt_account_id,omitempty" codec:"encrypt_account_id" ` Created int64 `json:"created,omitempty" codec:"created,omitempty"` Modified int64 `json:"modified,omitempty" codec:"modified,omitempty"` RegTime int64 `json:"regTime,omitempty" codec:"regTime,omitempty"` UpgradeTime int64 `json:"upgradeTime,omitempty" codec:"upgradeTime,omitempty"` EncryPin string `json:"encry_pin,omitempty" codec:"encry_pin,omitempty"` }
func GetUserBaseInfoByEncryPin ¶
func GetUserBaseInfoByEncryPin(req *GetUserBaseInfoByEncryPinRequest) (*UserInfo, error)
店铺信息查询
Click to show internal directories.
Click to hide internal directories.