market

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

This section is empty.

Types

type CartSku

type CartSku struct {
	Count      uint   `json:"count"`
	SourceType string `json:"sourcetype"`
	Time       uint64 `json:"time"`
	SkuId      uint64 `json:"sku"`
}

func GetUserCartSku

func GetUserCartSku(req *GetUserCartSkuRequest) ([]CartSku, error)

获取用户加购的sku数据

type GetUserCartSkuData

type GetUserCartSkuData struct {
	Code     string    `json:"code,omitempty" codec:"code,omitempty"`
	CartSkus []CartSku `json:"returnType,omitempty" codec:"returnType,omitempty"`
}

type GetUserCartSkuRequest

type GetUserCartSkuRequest struct {
	api.BaseRequest
	Pin         string `json:"pin" codec:"pin"`                     // 用户PIN
	OpenIdBuyer string `json:"open_id_buyer" codec:"open_id_buyer"` // 用户PIN
	XidBuyer    string `json:"xid_buyer" codec:"xid_buyer"`         // 用户PIN
}

type GetUserCartSkuResponse

type GetUserCartSkuResponse struct {
	ErrorResp *api.ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"`
	Data      *GetUserCartSkuData `` /* 148-byte string literal not displayed */
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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