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
Click to show internal directories.
Click to hide internal directories.