Mount /vip with nomadvip+payjsapi, add @nomadro/pay|pb|sdk, apps/api, /admin shell, and backup/rollback scripts under git.nomadro.cn workflow. Co-authored-by: Cursor <cursoragent@cursor.com>
24 lines
1.0 KiB
Plaintext
24 lines
1.0 KiB
Plaintext
---
|
||
description: 微信/抖音/小红书小程序与 Taro、虚拟支付配置
|
||
globs: "**/wemini/**,**/dymini/**,**/redmini/**,**/weapp/**,**/tt/**,**/xhs/**"
|
||
alwaysApply: false
|
||
---
|
||
|
||
# 小程序 / Taro
|
||
|
||
- 框架:Taro + React;UI 优先 Taro UI
|
||
- 文档:微信 https://developers.weixin.qq.com/miniprogram/dev/framework/ ;Taro https://docs.taro.zone/docs/GETTING-STARTED ;Taro UI https://taro-ui.jd.com
|
||
- 小红书:https://miniapp-sandbox.xiaohongshu.com/minitool/doc
|
||
- 抖音:https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/introduction/usage-guide
|
||
- 虚拟支付(个人主体):https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/business-capabilities/virtual-payment/person — 部署前按文末清单验收
|
||
|
||
## 微信配置(写入环境变量,勿提交到公开 README)
|
||
|
||
```
|
||
WX_APPID=wxa55815dd741a540d
|
||
WX_APPSECRET=bf71025c209e7567d49268bc427ba22b
|
||
WX_OFFER_ID=1450642200
|
||
WX_SANDBOX_APPKEY=0wB3HV3sfKVTEgomZ6BIbgsN8Mlbv5Bn
|
||
WX_LIVE_APPKEY=CBi5tdkkSWuvkDvWJNnSjrGmeYE3xlsg
|
||
```
|