_const

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: May 12, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BusinessType

type BusinessType int
const (
	BusinessTypeUnknown  BusinessType = iota + 10 // 未知/初始化
	BusinessTypeMall                              // 商城
	BusinessTypeVip                               // 会员
	BusinessTypeTravel                            // 出行
	BusinessTypeRecharge                          // 充值
)

type PayProvider

type PayProvider int

PayProvider 支付服务提供商枚举

const (
	PayProviderUnknown    PayProvider = iota + 10 // 未知/初始化
	PayProviderHuifu                              // 汇付
	PayProviderFirstXinYi                         // 首信易
	PayProviderUnion                              // 汇聚支付
)

type PayStatus

type PayStatus int

PayStatus 支付状态枚举

const (
	PayStatusUnknown PayStatus = iota + 10 // 未知/初始化
	PayStatusSuccess                       // 支付成功
	PayStatusFailed                        // 支付失败
)

type RefundStatus

type RefundStatus int

售后状态

const (
	RefundStatusOpen       RefundStatus = iota + 10 // 开启
	RefundStatusRefundable                          // 可售后
	RefundStatusClosed                              // 关闭
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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