models

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OrderStatusCodeCreated   = OrderStatusCode(0) //订单已创建
	OrderStatusCodePaid      = OrderStatusCode(1) //订单已支付
	OrderStatusCodeClosed    = OrderStatusCode(2) //订单已关闭
	OrderStatusCodeCancelled = OrderStatusCode(3) //订单已取消
	OrderStatusCodeRefunded  = OrderStatusCode(4) //订单已退款
)
View Source
const (
	UserStatusCodeNormal    = UserStatusCode(0) //正常
	UserStatusCodeForbidden = UserStatusCode(1) //禁用
)
View Source
const (
	WalletStatusCodeNormal    = WalletStatusCode(0) //正常
	WalletStatusCodeForbidden = WalletStatusCode(1) //禁用
)

Variables

This section is empty.

Functions

This section is empty.

Types

type OrderStatusCode

type OrderStatusCode int

func (OrderStatusCode) Int

func (osc OrderStatusCode) Int() int

func (OrderStatusCode) String

func (osc OrderStatusCode) String() string

type UserStatusCode

type UserStatusCode int

func (UserStatusCode) Int

func (usc UserStatusCode) Int() int

func (UserStatusCode) String

func (usc UserStatusCode) String() string

type WalletStatusCode

type WalletStatusCode int

func (WalletStatusCode) Int

func (wsc WalletStatusCode) Int() int

func (WalletStatusCode) String

func (wsc WalletStatusCode) String() string

Jump to

Keyboard shortcuts

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