Files
dpl/plugins/VipLoyalty/config.json
T
hellcat 0501711267 feat(fuc-xb): prepare isolated staging theme and VIP auto upgrades
Port the Fuc 0.12.0 frontend and default-off VIP plugin. Include the previously approved password-reset token revocation. Deploy only to an independent FUC-XB test instance; no production cutover.
2026-11-04 13:44:33 +08:00

18 lines
961 B
JSON

{
"name": "VIP 自动升级",
"code": "vip_loyalty",
"version": "1.0.0",
"description": "按实际套餐消费自动升级;独立实例开关,默认关闭。",
"author": "XB",
"type": "feature",
"config": {
"enabled": {"type":"boolean","default":false,"label":"开启 VIP 自动升级","description":"仅对当前实例生效;其他实例默认关闭。"},
"tier1_amount": {"type":"number","default":100,"label":"VIP 1 累计门槛(元)"},
"tier1_discount": {"type":"number","default":8,"label":"VIP 1 优惠百分比","description":"8 表示减 8%,即 9.2 折"},
"tier2_amount": {"type":"number","default":200,"label":"VIP 2 累计门槛(元)"},
"tier2_discount": {"type":"number","default":12,"label":"VIP 2 优惠百分比"},
"tier3_amount": {"type":"number","default":360,"label":"VIP 3 累计门槛(元)"},
"tier3_discount": {"type":"number","default":15,"label":"VIP 3 优惠百分比"}
}
}