fix: replace keys

This commit is contained in:
wangfuduo 2026-07-15 15:09:12 +08:00
parent 0ce4188b50
commit 5a46588bc9
1 changed files with 19 additions and 19 deletions

View File

@ -23,15 +23,15 @@ func mergeDefaults(maps ...map[string]any) map[string]any {
// ==================== 会员与支付 ====================
const (
ServiceFreeDay = "service.free.day" // 免费使用天数
ServiceVipExpireNotice = "service.vip.expire.notice" // 会员到期提示语
ServiceVipExpireButton = "service.vip.expire.button" // 会员到期按钮文字
ServiceVipExpireUrl = "service.vip.expire.url" // 会员到期跳转地址
ServiceFirstPayWay = "service.first.pay.way" // 首次激活支付方式coupon | recharge
ServicePayWay = "service.pay.way" // 后续支付方式coupon | recharge
ServerCouponNotice = "service.coupon.notice" // 兑换码输入提示语
ServiceCouponSubmitButton = "service.coupon.submit.button" // 兑换码提交按钮文字
ButtonTxtContractCustomer = "service.button.contract.customer" // 联系客服按钮文字
ServiceFreeDay = "server.free.day" // 免费使用天数
ServiceVipExpireNotice = "server.vip.expire.notice" // 会员到期提示语
ServiceVipExpireButton = "server.vip.expire.button" // 会员到期按钮文字
ServiceVipExpireUrl = "server.vip.expire.url" // 会员到期跳转地址
ServiceFirstPayWay = "server.first.pay.way" // 首次激活支付方式coupon | recharge
ServicePayWay = "server.pay.way" // 后续支付方式coupon | recharge
ServerCouponNotice = "server.coupon.notice" // 兑换码输入提示语
ServiceCouponSubmitButton = "server.coupon.submit.button" // 兑换码提交按钮文字
ButtonTxtContractCustomer = "server.button.contract.customer" // 联系客服按钮文字
)
var vipPayDefaults = map[string]any{
@ -49,11 +49,11 @@ var vipPayDefaults = map[string]any{
// ==================== 包更新 ====================
const (
ServiceUpdateBeforeDay = "service.update.before.day" // 提示更新天数
ServiceForceUpdateDay = "service.force.update.day" // 强制更新天数
ServiceUpdateNotice = "service.update.notice" // 更新提示语
ServiceForceUpdateNotice = "service.force.update.notice" // 强制更新提示语
ServiceUpdateOtherNotice = "service.update.other.notice" // 换包更新提示语
ServiceUpdateBeforeDay = "server.update.before.day" // 提示更新天数
ServiceForceUpdateDay = "server.force.update.day" // 强制更新天数
ServiceUpdateNotice = "server.update.notice" // 更新提示语
ServiceForceUpdateNotice = "server.force.update.notice" // 强制更新提示语
ServiceUpdateOtherNotice = "server.update.other.notice" // 换包更新提示语
)
var pkgUpdateDefaults = map[string]any{
@ -67,11 +67,11 @@ var pkgUpdateDefaults = map[string]any{
// ==================== 包缺失与安装 ====================
const (
ServiceUserPackageLack = "service.user.package.lack" // 未查询到用户包信息提示语
ServicePackageLackButton = "service.package.lack.button" // 用户包缺失按钮文字
ServicePackageLackUrl = "service.package.lack.url" // 用户包缺失下载地址
ServiceContactCustomer = "service.contact.customer" // 联系客服提示语
ServiceInstallButton = "service.install.button" // 安装按钮文字
ServiceUserPackageLack = "server.user.package.lack" // 未查询到用户包信息提示语
ServicePackageLackButton = "server.package.lack.button" // 用户包缺失按钮文字
ServicePackageLackUrl = "server.package.lack.url" // 用户包缺失下载地址
ServiceContactCustomer = "server.contact.customer" // 联系客服提示语
ServiceInstallButton = "server.install.button" // 安装按钮文字
)
var pkgInstallDefaults = map[string]any{