mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-06 15:46:37 +08:00
压缩历史至 95081aff
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
/*
|
||||
Copyright 2025 linux.do
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
package common
|
||||
|
||||
const (
|
||||
// PayTypeLDCPay Linux Do Credit 支付类型标识
|
||||
PayTypeLDCPay = "ldcpay"
|
||||
// PayTypeEPay Epay 支付类型
|
||||
PayTypeEPay = "epay"
|
||||
)
|
||||
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
Copyright 2025 linux.do
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
package common
|
||||
|
||||
const (
|
||||
BannedAccount = "账号已被封禁"
|
||||
AmountMustBeGreaterThanZero = "金额必须大于0"
|
||||
AmountDecimalPlacesExceeded = "金额小数位数不能超过2位"
|
||||
RateMustBeBetweenZeroAndOne = "比率必须在 0 到 1 之间"
|
||||
RateDecimalPlacesExceeded = "比率小数位数不能超过2位"
|
||||
InsufficientBalance = "余额不足"
|
||||
DailyLimitExceeded = "已超过每日限额"
|
||||
PayKeyIncorrect = "支付密钥错误"
|
||||
CannotPaySelf = "不能给自己付款"
|
||||
TestModeCannotProcessOrder = "测试模式下无法处理订单"
|
||||
TestModeOrderRemark = "[测试模式] 此订单为测试订单,未实际扣款"
|
||||
UnAuthorized = "未登录"
|
||||
RedEnvelopeDisabled = "红包功能未启用"
|
||||
RedEnvelopeAmountExceeded = "红包金额超过单个红包最大限额"
|
||||
RedEnvelopeDailyLimitExceeded = "今日发红包数量已达上限"
|
||||
RedEnvelopeRecipientsExceeded = "红包个数超过最大可领取人数上限"
|
||||
RedEnvelopeMinAmountRequired = "红包总金额不能低于1LDC"
|
||||
)
|
||||
|
||||
const (
|
||||
GetProtectionDaysFailed = "获取新用户保护期配置失败"
|
||||
)
|
||||
Reference in New Issue
Block a user