Keep WeChat props batch xlsx in-repo under docs/wx-props-batch for reuse.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
5dd573ce22
commit
362dab20f6
@ -9,7 +9,8 @@
|
||||
|
||||
业务 API:`apps/api`。管理后台:`apps/admin`。
|
||||
|
||||
微信虚拟支付 / 道具目录:[`docs/wechat-virtual-pay-props.md`](docs/wechat-virtual-pay-props.md)。
|
||||
微信虚拟支付 / 道具目录:[`docs/wechat-virtual-pay-props.md`](docs/wechat-virtual-pay-props.md)。
|
||||
批量上传 xlsx(下次直接用):[`docs/wx-props-batch/`](docs/wx-props-batch/)。
|
||||
|
||||
**全端禁止 web-view 承载业务内容**(VIP / 电子书 / 视频课等须原生页)。微信 VIP 说明见 `weapp/README.md`。
|
||||
|
||||
|
||||
Binary file not shown.
@ -53,7 +53,10 @@ WX_PAY_ENV=0
|
||||
|
||||
## 微信后台批量上传
|
||||
|
||||
模板:`nomadro_wx_props_batch_upload.xlsx`(桌面 + 本目录)
|
||||
**项目内固定目录(下次直接用):** [`wx-props-batch/`](wx-props-batch/)
|
||||
- 现用表:`wx-props-batch/nomadro_wx_props_batch_upload.xlsx`
|
||||
- 微信示例:`wx-props-batch/example_batch_add_product.xlsx`
|
||||
|
||||
生成脚本:`apps/miniprogram/scripts/gen_wx_props_batch_xlsx.py`
|
||||
|
||||
| 列 | 要求 |
|
||||
|
||||
23
apps/miniprogram/docs/wx-props-batch/README.md
Normal file
23
apps/miniprogram/docs/wx-props-batch/README.md
Normal file
@ -0,0 +1,23 @@
|
||||
# 微信虚拟支付 · 批量上传道具
|
||||
|
||||
下次在微信后台「批量创建道具」直接用本目录文件。
|
||||
|
||||
| 文件 | 用途 |
|
||||
|---|---|
|
||||
| `nomadro_wx_props_batch_upload.xlsx` | **现用上传表**(含 29/298/588 等) |
|
||||
| `example_batch_add_product.xlsx` | 微信官方示例格式参考 |
|
||||
|
||||
## 重新生成
|
||||
|
||||
```bash
|
||||
python apps/miniprogram/scripts/gen_wx_props_batch_xlsx.py
|
||||
```
|
||||
|
||||
会写入:
|
||||
|
||||
- `apps/miniprogram/docs/wx-props-batch/nomadro_wx_props_batch_upload.xlsx`
|
||||
- `apps/miniprogram/docs/nomadro_wx_props_batch_upload.xlsx`(短路径副本)
|
||||
- 桌面同名文件(可选方便)
|
||||
|
||||
道具图 SoT:`apps/admin/public/props/` → 线上 `https://admin.nomadro.cn/props/`(已 CORS)。
|
||||
目录与账号说明:[`../wechat-virtual-pay-props.md`](../wechat-virtual-pay-props.md)。
|
||||
Binary file not shown.
Binary file not shown.
@ -24,9 +24,11 @@ ROWS = [
|
||||
("test", "test", f"{IMG_BASE}/test.png", 1, "联调测试道具 · ¥1"),
|
||||
]
|
||||
|
||||
_DOCS = Path(__file__).resolve().parents[1] / "docs"
|
||||
OUT_DIRS = [
|
||||
Path(r"c:\Users\Administrator\Desktop"),
|
||||
Path(__file__).resolve().parents[1] / "docs",
|
||||
_DOCS / "wx-props-batch", # 项目内固定目录(下次直接用)
|
||||
_DOCS, # 短路径副本
|
||||
Path(r"c:\Users\Administrator\Desktop"), # 桌面方便上传
|
||||
]
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user