1临时提交 生成订单
Some checks failed
Build / build (push) Has been cancelled
CodeQL / Analyze (go) (push) Has been cancelled
build / Build (push) Has been cancelled
GitHub Actions Mirror / mirror_to_gitee (push) Has been cancelled
GitHub Actions Mirror / mirror_to_gitlab (push) Has been cancelled
Issue Close Require / issue-close-require (push) Has been cancelled
Some checks failed
Build / build (push) Has been cancelled
CodeQL / Analyze (go) (push) Has been cancelled
build / Build (push) Has been cancelled
GitHub Actions Mirror / mirror_to_gitee (push) Has been cancelled
GitHub Actions Mirror / mirror_to_gitlab (push) Has been cancelled
Issue Close Require / issue-close-require (push) Has been cancelled
This commit is contained in:
@ -12,3 +12,8 @@ const (
|
||||
//用户剩余翻译字符数 {key} 只有前缀
|
||||
TM_MEMBER_REMAIN_COUNT_PURE = "tm_member_remain_count"
|
||||
)
|
||||
|
||||
const (
|
||||
//用户充值预订单 {amount}
|
||||
TM_RECHARGE_PRE_ORDER = "tm_recharge_pre_order:%s"
|
||||
)
|
||||
|
||||
@ -10,19 +10,20 @@ type Response struct {
|
||||
}
|
||||
|
||||
var ErrorMessage = map[int]string{
|
||||
Success: "success",
|
||||
Unauthorized: "unauthorized",
|
||||
ServerError: "server error",
|
||||
NotFound: "not found",
|
||||
Forbidden: "forbidden",
|
||||
InvalidParams: "invalid params",
|
||||
InSufficRemainChar: "insufficent remain char",
|
||||
PlatformNotSupport: "platform not support",
|
||||
TransactionNotAvailable: "transaction not available",
|
||||
ApiUnauthorized: "api unauthorized",
|
||||
NotFindMember: "not find member",
|
||||
NotFindApiKey: "not find api key",
|
||||
MemberPlatformNotSupport: "member platform not support",
|
||||
Success: "success",
|
||||
Unauthorized: "unauthorized",
|
||||
ServerError: "server error",
|
||||
NotFound: "not found",
|
||||
Forbidden: "forbidden",
|
||||
InvalidParams: "invalid params",
|
||||
InSufficRemainChar: "insufficent remain char",
|
||||
PlatformNotSupport: "platform not support",
|
||||
TransactionNotAvailable: "transaction not available",
|
||||
ApiUnauthorized: "api unauthorized",
|
||||
NotFindMember: "not find member",
|
||||
NotFindApiKey: "not find api key",
|
||||
MemberPlatformNotSupport: "member platform not support",
|
||||
RechargeAmountMustBeGreaterThanZero: "recharge amount must be greater than zero",
|
||||
}
|
||||
|
||||
const (
|
||||
@ -44,4 +45,8 @@ const (
|
||||
NotFindMember = 30001 //未找到用户
|
||||
NotFindApiKey = 30002 //未找到api key
|
||||
MemberPlatformNotSupport = 30003 //用户平台不支持
|
||||
|
||||
//================ 充值相关 ===============
|
||||
RechargeAmountMustBeGreaterThanZero = 40001 //充值金额必须大于0
|
||||
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user