twin-api/base/config/keys.go

41 lines
1.9 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package config
const (
ServiceFreeDay = "service.free.day" // 免费使用天数
ServiceVipExpireNotice = "service.vip.expire.notice" // 会员到期提示语
ServiceVipExpireButton = "service.vip.expire.button" // 会员到期按钮提示语
ServiceVipExpireUrl = "service.vip.expire.url" // 会员到期跳转地址
ServiceUpdateBeforeDay = "service.update.before.day" // 提示更新天数
ServiceForceUpdateDay = "service.force.update.day" // 强制更新天数
ServiceUpdateNotice = "service.update.notice" // 更新提示语
ServiceForceUpdateNotice = "service.force.update.notice" // 强制更新提示语
ServiceUpdateOtherNotice = "service.update.other.notice" // 换包更新提示语
ServiceUserPackageLack = "service.user.package.lack" // 未查询到用户包信息
ServicePackageLackButton = "service.package.lack.button" // 用户包缺失按钮提醒
ServicePackageLackUrl = "service.package.lack.url" // 用户包缺失下载按钮
ServiceContactCustomer = "service.contact.customer" // 联系客服提示语
ServiceInstallButton = "service.install.button" // 安装按钮提示
)
var KeysDefault = map[string]any{
ServiceFreeDay: "1",
ServiceUpdateBeforeDay: "30",
ServiceForceUpdateDay: "7",
ServiceVipExpireNotice: "您的会员已过期,请联系客服充值",
ServiceUpdateNotice: "您的包将于%s到期请你前往AppStore更新应用",
ServiceUpdateOtherNotice: "您需要下载新的应用,请注意备份聊天记录",
ServiceForceUpdateNotice: "请您先备份好聊天记录再前往AppStore更新应用。否则数据会丢失",
ServiceVipExpireButton: "充值",
ServiceVipExpireUrl: "",
ServiceUserPackageLack: "请您重新安装",
ServicePackageLackButton: "安装",
ServicePackageLackUrl: "",
ServiceContactCustomer: "安装包缺失请联系客服解决all@batiao8.com",
ServiceInstallButton: "安装",
}