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