cart

package
v0.0.0-...-e6e6a7d Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(c *gin.Context)

func Create

func Create(c *gin.Context)

func Del

func Del(c *gin.Context)

func Exist

func Exist(c *gin.Context)

func Info

func Info(c *gin.Context)

func List

func List(c *gin.Context)

func TotalNum

func TotalNum(c *gin.Context)

func Update

func Update(c *gin.Context)

Types

type ReqCheck

type ReqCheck struct {
	ComSkuIds []int `json:"comSkuIds"`
	IsCheck   int   `json:"isCheck"`
}

type ReqCreate

type ReqCreate struct {
	TypeId   int `json:"typeId"`
	ComSkuId int `json:"comSkuId"`
	Num      int `json:"num"`
	FeedId   int `json:"feedId"`
}

type ReqDel

type ReqDel struct {
	Ids []ReqDelOne `json:"ids"`
}

type ReqDelOne

type ReqDelOne struct {
	TypeId    int `json:"typeId"`
	FeedId    int `json:"feedId"`
	ComSkuIds int `json:"comSkuIds"`
}

type ReqInfo

type ReqInfo struct {
	ComSkuId int `form:"comSkuId"`
}

type ReqList

type ReqList struct {
	CartIds []int `json:"cartIds"`
	Current int   `form:"current"`
}

type ReqUpdate

type ReqUpdate struct {
	TypeId   int `json:"typeId"`
	ComSkuId int `json:"comSkuId"`
	Quantity int `json:"quantity"`
}

Jump to

Keyboard shortcuts

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