Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCartItemByPin ¶
func AddCartItemByPin(ctx context.Context, req *AddCartItemByPinRequest) (bool, error)
TODO 通过Pin将商品加入用户购物车
Types ¶
type AddCartItemByPinData ¶
type AddCartItemByPinData struct { ReturnType *AddCartItemByPinReturnType `json:"returnType,omitempty" codec:"returnType,omitempty"` Code string `json:"code"` }
func (AddCartItemByPinData) Error ¶ added in v1.1.1
func (r AddCartItemByPinData) Error() string
func (AddCartItemByPinData) IsError ¶ added in v1.1.1
func (r AddCartItemByPinData) IsError() bool
type AddCartItemByPinRequest ¶
type AddCartItemByPinRequest struct { api.BaseRequest Pin string `json:"pin,omitempty" codec:"pin,omitempty"` // 加密pin ItemId uint64 `json:"itemId,omitempty" codec:"itemId,omitempty"` // skuid Num uint64 `json:"num,omitempty" codec:"num,omitempty"` // 数量 }
type AddCartItemByPinResponse ¶
type AddCartItemByPinResponse struct { ErrorResp *api.ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"` Data *AddCartItemByPinData `json:"jingdong_jzone_addCartItemByPin_responce,omitempty" codec:"jingdong_jzone_addCartItemByPin_responce,omitempty"` }
func (AddCartItemByPinResponse) Error ¶ added in v1.1.1
func (r AddCartItemByPinResponse) Error() string
func (AddCartItemByPinResponse) IsError ¶ added in v1.1.1
func (r AddCartItemByPinResponse) IsError() bool
type AddCartItemByPinReturnType ¶
type AddCartItemByPinReturnType struct { Message string `json:"message,omitempty" codec:"message,omitempty"` Code string `json:"code,omitempty" codec:"code,omitempty"` }
func (AddCartItemByPinReturnType) Error ¶ added in v1.1.1
func (r AddCartItemByPinReturnType) Error() string
func (AddCartItemByPinReturnType) IsError ¶ added in v1.1.1
func (r AddCartItemByPinReturnType) IsError() bool
Click to show internal directories.
Click to hide internal directories.