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"` }
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 `` /* 144-byte string literal not displayed */ }
type GetEncryptPinNewReturnType ¶
type GetEncryptPinNewReturnType struct { Message string `json:"message,omitempty" codec:"message,omitempty"` //接口的执行信息 Pin string `json:"pin,omitempty" codec:"pin,omitempty"` //用户pin Code uint64 `json:"code,omitempty" codec:"code,omitempty"` //状态码 RequestId string `json:"requestId,omitempty" codec:"requestId,omitempty"` //请求id }
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 */ }
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"` }
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"` }
type GetOpenIdResponseData ¶
type GetOpenIdResponseData struct {
ReturnType GetOpenIdReturnType `json:"returnType"`
}
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)
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"` }
Click to show internal directories.
Click to hide internal directories.