order

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: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(c *gin.Context)

*

  • 创建订单

func Delete

func Delete(c *gin.Context)

func Info

func Info(c *gin.Context)

func List

func List(c *gin.Context)

func StateNum

func StateNum(c *gin.Context)

Types

type BuyCalculate

type BuyCalculate struct {
	ComAmount float64
	ComNum    int
}

type ReqCreate

type ReqCreate struct {
	CartIds   []int  `json:"cartIds"`
	AddressId int    `json:"addressId"`
	Remark    string `json:"remark"`
}

type ReqDelete

type ReqDelete struct {
	Id int `form:"id"`
}

type ReqInfo

type ReqInfo struct {
	Id int `form:"id"`
}

type ReqOrderCancel

type ReqOrderCancel struct {
	Id          int `json:"id"`
	StateRemark int `json:"state_remark"`
}

type ReqOrderConfirmReceipt

type ReqOrderConfirmReceipt struct {
	Id          int    `json:"id"`
	StateRemark string `json:"state_remark"`
}

type ReqOrderGoodsInfo

type ReqOrderGoodsInfo struct {
	Id int `json:"id"`
}

type ReqOrderListInfo

type ReqOrderListInfo struct {
	trans.ReqPage
	StateType string `form:"stateType"`
}

type ReqOrderLogistics

type ReqOrderLogistics struct {
	Id int `json:"id"`
}

Jump to

Keyboard shortcuts

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