Documentation ¶
Index ¶
- func GetEncryptPin(ctx context.Context, req *GetEncryptPinRequest) (string, error)
- func MixPinToXid(ctx context.Context, req *MixPinToXidRequest) (string, error)
- type GetEncryptPinData
- type GetEncryptPinRequest
- type GetEncryptPinResponse
- type GetEncryptPinResult
- type GetSocialInfoData
- type GetSocialInfoRequest
- type GetSocialInfoResponse
- type GetUserBaseInfoByEncryPinRequest
- type GetUserBaseInfoByEncryPinResponse
- type GetUserBaseInfoByEncryPinSubResponse
- type MixPinToXidData
- type MixPinToXidRequest
- type MixPinToXidResponse
- type MixPinToXidResult
- type SocialInfo
- type UserInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEncryptPin ¶
func GetEncryptPin(ctx context.Context, req *GetEncryptPinRequest) (string, error)
明文PIN转加密PIN
func MixPinToXid ¶ added in v1.1.11
func MixPinToXid(ctx context.Context, req *MixPinToXidRequest) (string, error)
加密pin转为xid
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 MixPinToXidData ¶ added in v1.1.11
type MixPinToXidData struct { Code string `json:"code,omitempty" codec:"code,omitempty"` Result *MixPinToXidResult `json:"returnType,omitempty" codec:"returnType,omitempty"` }
func (MixPinToXidData) Error ¶ added in v1.1.11
func (r MixPinToXidData) Error() string
func (MixPinToXidData) IsError ¶ added in v1.1.11
func (r MixPinToXidData) IsError() bool
type MixPinToXidRequest ¶ added in v1.1.11
type MixPinToXidRequest struct { api.BaseRequest AppKey string `json:"appKey,omitempty" codec:"appKey,omitempty"` // 应用appKey MixPin string `json:"mixPin,omitempty" codec:"mixPin,omitempty"` // 加密后的pin }
type MixPinToXidResponse ¶ added in v1.1.11
type MixPinToXidResponse struct { ErrorResp *api.ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"` Data *MixPinToXidData `` /* 128-byte string literal not displayed */ }
func (MixPinToXidResponse) Error ¶ added in v1.1.11
func (r MixPinToXidResponse) Error() string
func (MixPinToXidResponse) IsError ¶ added in v1.1.11
func (r MixPinToXidResponse) IsError() bool
type MixPinToXidResult ¶ added in v1.1.11
type MixPinToXidResult 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 (MixPinToXidResult) Error ¶ added in v1.1.11
func (r MixPinToXidResult) Error() string
func (MixPinToXidResult) IsError ¶ added in v1.1.11
func (r MixPinToXidResult) 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"` }
func GetSocialInfo ¶
func GetSocialInfo(ctx context.Context, req *GetSocialInfoRequest) (*SocialInfo, error)
店铺信息查询
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(ctx context.Context, req *GetUserBaseInfoByEncryPinRequest) (*UserInfo, error)
店铺信息查询
Click to show internal directories.
Click to hide internal directories.