Files
yuxingu-Miniprogram-dev/DEPLOY.md
T
jackyu66gitandCursor 69d9825b63 feat: 愈心魔方 Tab 与首页入口改版
新增愈心魔方 WebView Tab、首页魔方横幅与四宫格入口(心理测评/咨询/情绪压力评估/就医保障);H5 地址配置于 yxgConfig.js。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 00:41:14 +08:00

38 lines
926 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 愈心谷小程序部署说明
完整文档(含 H5、Go API、Nginx、微信后台配置)见 monorepo
**[`digital-psychology/docs/DEPLOY-MINI-PROGRAM-H5.md`](../digital-psychology/docs/DEPLOY-MINI-PROGRAM-H5.md)**
---
## 本仓库快速步骤
### 1. 确认 H5 已部署
生产 H5 必须可访问:
```text
https://h5.yuxingu.com.cn/psy/?mp=1
```
地址配置:`util/yxgConfig.js`
### 2. HBuilderX 发行
1. 打开本项目
2. **发行 → 小程序-微信**
3. 微信开发者工具打开 `unpackage/dist/build/mp-weixin/`
4. 上传体验版 / 提交审核
### 3. 微信后台
- **业务域名**`h5.yuxingu.com.cn`
- **request 合法域名**`miniapp.yuxingu.com.cn``h5.yuxingu.com.cn`
### 4. 验收
- 首页紫色「愈心魔方」条 → 切 Tab 加载 H5
- 底部 Tab:**首页 | 愈心魔方 | 心理咨询 | 心理测评 | 我的**
- 咨询/测评仍正常(`miniapp.yuxingu.com.cn`