1. 维护代码健壮

2. 更新项目结构文档
This commit is contained in:
技术老胡
2026-04-27 16:20:41 +08:00
parent 9a16a88640
commit 0e5de50337
198 changed files with 21038 additions and 702 deletions

19
doc/deployment/cashier.md Normal file
View File

@@ -0,0 +1,19 @@
# 收银台部署
命令默认在 `cashier/` 目录执行。
```bash
pnpm install
pnpm build
```
产物在 `dist/`
## 路径
- 页面入口:`/cashier``/payment`
- 收银台 JSON API`/api/cashier`
- ePay V2 / 开放支付 API`/api/pay``/api/merchant``/api/transfer`
- ePay V1 兼容入口:`/submit.php``/mapi.php``/api.php`
如果前端不走同域代理,配置 `VITE_API_BASE_URL` 指向后端;否则保持为空,通过相对路径访问 `/api`