domain

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OrderStatusUnpaid    = iota + 1 // 未支付
	OrderStatusCompleted            // 已完成(已支付)
	OrderStatusCanceled             // 已取消
	OrderStatusExpired              // 已超时
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Order

type Order struct {
	ID                 int64
	SN                 string
	BuyerID            int64
	PaymentID          int64
	PaymentSN          string
	OriginalTotalPrice int64
	RealTotalPrice     int64
	ClosedAt           int64
	Status             int64
	Items              []OrderItem
	Ctime              int64
	Utime              int64
}

type OrderItem

type OrderItem struct {
	OrderID          int64
	SPUID            int64
	SKUID            int64
	SKUName          string
	SKUDescription   string
	SKUOriginalPrice int64
	SKURealPrice     int64
	Quantity         int64
}

Jump to

Keyboard shortcuts

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