chore: remove hardcoded production domain references

This commit is contained in:
237899745
2026-02-27 15:27:45 +08:00
parent 5d5ddf0679
commit a74753123a
4 changed files with 9 additions and 9 deletions

View File

@@ -4,8 +4,8 @@
## 项目情况2026-02-24
- 线上域名:`https://zc.workyai.cn`
- Nginx 转发:`zc.workyai.cn -> 127.0.0.1:8787`
- 线上域名:按部署自行配置
- Nginx 转发:`<your-domain> -> 127.0.0.1:8787`
- 运行服务:`xibao-web.service`
- 代码目录:`/opt/xibao-web/app`
- Python 环境:`/opt/xibao-web/venv`
@@ -111,7 +111,7 @@ make lint
# 2) 单元测试
make test
# 3) 线上接口烟雾回归(默认 zc.workyai.cn
# 3) 接口烟雾回归(默认本机 127.0.0.1:8787
make smoke
# 一键全跑
@@ -136,7 +136,7 @@ journalctl -u xibao-web.service -n 200 --no-pager
### Nginx线上
```bash
cat /etc/nginx/sites-available/zc.workyai.cn
cat /etc/nginx/sites-available/<your-site>.conf
nginx -t
systemctl reload nginx
```
@@ -172,11 +172,11 @@ systemctl reload nginx
### 快速启动
```bash
cd /root/zc.workyai.cn/app
cd /opt/xibao-web/app
python3 wechat_bot_bridge.py \
--wechat-base-url http://127.0.0.1:18238 \
--wechat-session-file /root/WeChatPadPro_test_20260227/webui/.session.json \
--xibao-base-url https://zc.workyai.cn
--xibao-base-url http://127.0.0.1:8787
```
可选参数: