common

package
v1.3.12 Latest Latest
Warning

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

Go to latest
Published: May 13, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// PayTypeLDCPay Linux Do Credit 支付类型标识
	PayTypeLDCPay = "ldcpay"
	// PayTypeEPay Epay 支付类型
	PayTypeEPay = "epay"
)
View Source
const (
	BannedAccount                 = "账号已被封禁"
	AmountMustBeGreaterThanZero   = "金额必须大于0"
	AmountDecimalPlacesExceeded   = "金额小数位数不能超过2位"
	RateMustBeBetweenZeroAndOne   = "比率必须在 0 到 1 之间"
	RateDecimalPlacesExceeded     = "比率小数位数不能超过2位"
	InsufficientBalance           = "余额不足"
	DailyLimitExceeded            = "已超过每日限额"
	PayKeyIncorrect               = "支付密钥错误"
	CannotPaySelf                 = "不能给自己付款"
	TestModeCannotProcessOrder    = "测试模式下无法处理订单"
	TestModeOrderRemark           = "[测试模式] 此订单为测试订单,未实际扣款"
	UnAuthorized                  = "未登录"
	RedEnvelopeDisabled           = "红包功能未启用"
	RedEnvelopeAmountExceeded     = "红包金额超过单个红包最大限额"
	RedEnvelopeDailyLimitExceeded = "今日发红包数量已达上限"
	RedEnvelopeRecipientsExceeded = "红包个数超过最大可领取人数上限"
	RedEnvelopeMinAmountRequired  = "红包总金额不能低于1LDC"
)
View Source
const (
	GetProtectionDaysFailed = "获取新用户保护期配置失败"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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