Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCartItemByPin ¶
func AddCartItemByPin(req *AddCartItemByPinRequest) (bool, error)
TODO 通过Pin将商品加入用户购物车
Types ¶
type AddCartItemByPinData ¶
type AddCartItemByPinData struct { ReturnType *AddCartItemByPinReturnType `json:"returnType,omitempty" codec:"returnType,omitempty"` Code string `json:"code"` }
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"` }
Click to show internal directories.
Click to hide internal directories.