jzone

package
v1.0.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

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"`
}

type AddCartItemByPinReturnType

type AddCartItemByPinReturnType struct {
	Message string `json:"message,omitempty" codec:"message,omitempty"`
	Code    string `json:"code,omitempty" codec:"code,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL