Documentation ¶
Index ¶
- func GetEncryptPinNew(req *GetEncryptPinNewRequest) (string, error)
- func GetJmUserBaseInfoByEncryPin(req *GetJmUserBaseInfoByEncryPinRequest) (*user.UserInfo, error)
- func GetUserBaseInfoByPin(req *GetUserBaseInfoByPinRequest) (*user.UserInfo, error)
- type GetEncryptPinNewData
- type GetEncryptPinNewRequest
- type GetEncryptPinNewResponse
- type GetEncryptPinNewReturnType
- type GetJmUserBaseInfoByEncryPinRequest
- type GetJmUserBaseInfoByEncryPinResponse
- type GetJmUserBaseInfoByEncryPinSubResponse
- type GetOpenIdRequest
- type GetOpenIdResponse
- type GetOpenIdResponseData
- type GetOpenIdReturnType
- type GetUserBaseInfoByPinRequest
- type GetUserBaseInfoByPinResponse
- type GetUserBaseInfoByPinSubResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEncryptPinNew ¶
func GetEncryptPinNew(req *GetEncryptPinNewRequest) (string, error)
func GetJmUserBaseInfoByEncryPin ¶
func GetJmUserBaseInfoByEncryPin(req *GetJmUserBaseInfoByEncryPinRequest) (*user.UserInfo, error)
用户信息查询
func GetUserBaseInfoByPin ¶
func GetUserBaseInfoByPin(req *GetUserBaseInfoByPinRequest) (*user.UserInfo, error)
店铺信息查询
Types ¶
type GetEncryptPinNewData ¶
type GetEncryptPinNewData struct { Code string `json:"code,omitempty" codec:"code,omitempty"` ReturnType *GetEncryptPinNewReturnType `json:"returnType,omitempty" codec:"returnType,omitempty"` }
func (GetEncryptPinNewData) Error ¶ added in v1.1.1
func (r GetEncryptPinNewData) Error() string
func (GetEncryptPinNewData) IsError ¶ added in v1.1.1
func (r GetEncryptPinNewData) IsError() bool
type GetEncryptPinNewRequest ¶
type GetEncryptPinNewRequest struct { api.BaseRequest Token string `json:"token,omitempty" codec:"token,omitempty"` // 京东或者微信token Source string `json:"source,omitempty" codec:"source,omitempty"` // 01:京东App,02:微信 }
type GetEncryptPinNewResponse ¶
type GetEncryptPinNewResponse struct { ErrorResp *api.ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"` Data *GetEncryptPinNewData `` /* 142-byte string literal not displayed */ }
func (GetEncryptPinNewResponse) Error ¶ added in v1.1.1
func (r GetEncryptPinNewResponse) Error() string
func (GetEncryptPinNewResponse) IsError ¶ added in v1.1.1
func (r GetEncryptPinNewResponse) IsError() bool
type GetEncryptPinNewReturnType ¶
type GetEncryptPinNewReturnType struct { Message string `json:"message,omitempty" codec:"message,omitempty"` //接口的执行信息 Pin string `json:"pin,omitempty" codec:"pin,omitempty"` //用户pin Code int64 `json:"code,omitempty" codec:"code,omitempty"` //状态码 RequestId string `json:"requestId,omitempty" codec:"requestId,omitempty"` //请求id }
func (GetEncryptPinNewReturnType) Error ¶ added in v1.1.1
func (r GetEncryptPinNewReturnType) Error() string
func (GetEncryptPinNewReturnType) IsError ¶ added in v1.1.1
func (r GetEncryptPinNewReturnType) IsError() bool
type GetJmUserBaseInfoByEncryPinRequest ¶
type GetJmUserBaseInfoByEncryPinRequest struct { api.BaseRequest Pin string `json:"pin,omitempty" codec:"pin,omitempty"` // 用户标识 LoadType int `json:"loadType,omitempty" codec:"loadType,omitempty"` // 加载类型 }
type GetJmUserBaseInfoByEncryPinResponse ¶
type GetJmUserBaseInfoByEncryPinResponse struct { ErrorResp *api.ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"` Data *GetJmUserBaseInfoByEncryPinSubResponse `` /* 126-byte string literal not displayed */ }
func (GetJmUserBaseInfoByEncryPinResponse) Error ¶ added in v1.1.1
func (r GetJmUserBaseInfoByEncryPinResponse) Error() string
func (GetJmUserBaseInfoByEncryPinResponse) IsError ¶ added in v1.1.1
func (r GetJmUserBaseInfoByEncryPinResponse) IsError() bool
type GetJmUserBaseInfoByEncryPinSubResponse ¶
type GetJmUserBaseInfoByEncryPinSubResponse struct { Code string `json:"code,omitempty" codec:"code,omitempty"` ErrorDesc string `json:"error_description,omitempty" codec:"error_description,omitempty"` UserJosResult *user.UserInfo `json:"getuserbaseinfobypin_result,omitempty" codec:"getuserbaseinfobypin_result,omitempty"` }
func (GetJmUserBaseInfoByEncryPinSubResponse) Error ¶ added in v1.1.1
func (r GetJmUserBaseInfoByEncryPinSubResponse) Error() string
func (GetJmUserBaseInfoByEncryPinSubResponse) IsError ¶ added in v1.1.1
func (r GetJmUserBaseInfoByEncryPinSubResponse) IsError() bool
type GetOpenIdRequest ¶
type GetOpenIdResponse ¶
type GetOpenIdResponse struct { ErrorResp *ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"` Data GetOpenIdResponseData `json:"jingdong_pop_jm_center_user_getOpenId_responce"` }
func (GetOpenIdResponse) Error ¶ added in v1.1.1
func (r GetOpenIdResponse) Error() string
func (GetOpenIdResponse) IsError ¶ added in v1.1.1
func (r GetOpenIdResponse) IsError() bool
type GetOpenIdResponseData ¶
type GetOpenIdResponseData struct {
ReturnType GetOpenIdReturnType `json:"returnType"`
}
func (GetOpenIdResponseData) Error ¶ added in v1.1.1
func (r GetOpenIdResponseData) Error() string
func (GetOpenIdResponseData) IsError ¶ added in v1.1.1
func (r GetOpenIdResponseData) IsError() bool
type GetOpenIdReturnType ¶
type GetOpenIdReturnType struct { Message string `json:"message"` OpenID string `json:"open_id"` Pin string `json:"pin"` RequestID string `json:"requestId"` Code int `json:"code"` }
func GetOpenId ¶
func GetOpenId(req GetOpenIdRequest) (GetOpenIdReturnType, error)
func (GetOpenIdReturnType) Error ¶ added in v1.1.1
func (r GetOpenIdReturnType) Error() string
func (GetOpenIdReturnType) IsError ¶ added in v1.1.1
func (r GetOpenIdReturnType) IsError() bool
type GetUserBaseInfoByPinRequest ¶
type GetUserBaseInfoByPinRequest struct { api.BaseRequest Pin string `json:"pin,omitempty" codec:"pin,omitempty"` // 用户标识 LoadType int `json:"loadType,omitempty" codec:"loadType,omitempty"` // 加载类型 }
type GetUserBaseInfoByPinResponse ¶
type GetUserBaseInfoByPinResponse struct { ErrorResp *api.ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"` Data *GetUserBaseInfoByPinSubResponse `json:"jingdong_vender_shop_query_responce,omitempty" codec:"jingdong_vender_shop_query_responce,omitempty"` }
func (GetUserBaseInfoByPinResponse) Error ¶ added in v1.1.1
func (r GetUserBaseInfoByPinResponse) Error() string
func (GetUserBaseInfoByPinResponse) IsError ¶ added in v1.1.1
func (r GetUserBaseInfoByPinResponse) IsError() bool
type GetUserBaseInfoByPinSubResponse ¶
type GetUserBaseInfoByPinSubResponse struct { Code string `json:"code,omitempty" codec:"code,omitempty"` ErrorDesc string `json:"error_description,omitempty" codec:"error_description,omitempty"` UserJosResult *user.UserInfo `json:"shop_jos_result,omitempty" codec:"shop_jos_result,omitempty"` }
func (GetUserBaseInfoByPinSubResponse) Error ¶ added in v1.1.1
func (r GetUserBaseInfoByPinSubResponse) Error() string
func (GetUserBaseInfoByPinSubResponse) IsError ¶ added in v1.1.1
func (r GetUserBaseInfoByPinSubResponse) IsError() bool
Click to show internal directories.
Click to hide internal directories.