Collapse portal under src/, unify pnpm workspace/scripts, thin VIP topic re-exports, drop orphan vip scaffolds and one-shot scripts, ignore xhs/release, document root commands. Co-authored-by: Cursor <cursoragent@cursor.com>
23 lines
617 B
Plaintext
23 lines
617 B
Plaintext
---
|
||
description: 支付网关与多语言约定
|
||
alwaysApply: true
|
||
---
|
||
|
||
# 支付与 i18n
|
||
|
||
## 支付分流
|
||
|
||
| 场景 | 网关 |
|
||
|------|------|
|
||
| 海外 | Creem / NOWPayments |
|
||
| 国内 PC/H5 浏览器 | zpay |
|
||
| 国内微信内 H5 | xpay / xorpay(与现网 VIP 一致) |
|
||
| 微信小程序虚拟支付 | OfferID + AppKey(见 wechat 规则) |
|
||
|
||
统一经 FastAPI(`apps/api`)写 PocketBase;前端勿直连商户密钥。
|
||
|
||
## 多语言
|
||
|
||
- 默认中文 / 英语;扩展日语、越南语、泰语等小语种
|
||
- 门户已有 `lib/i18n` + `is-china-user`;垂直应用逐步对齐,勿再造冲突 locale 键
|