feat: 连锁餐饮数字本体与AI经营智脑 - 新增分析页面、ETL脚本、总结文档

This commit is contained in:
freedakgmail
2026-08-02 10:54:48 +08:00
parent 73f12f40d1
commit a1a8b7ee5e
19 changed files with 3453 additions and 2 deletions
+15 -2
View File
@@ -21,10 +21,23 @@ cd server && npm run dev
### 2. 启动反向隧道(线上前端访问本地后端)
线上 Nginx 将 `/api/` 代理到远程 `127.0.0.1:13333`,通过反向 SSH 隧道转发到本地后端
线上 Nginx 将 `/api/` 代理到远程 `127.0.0.1:13333`,通过 frp tcp 代理转发到本地后端 3333 端口
frpc 配置(`/Users/freedak/frp/frpc.toml`)中已包含 dm-api 代理:
```toml
[[proxies]]
name = "dm-api"
type = "tcp"
localIP = "127.0.0.1"
localPort = 3333
remotePort = 13333
```
重启 frpc 即可:
```bash
sshpass -p 'Why_701208' ssh -o StrictHostKeyChecking=accept-new -o ServerAliveInterval=30 -o ServerAliveCountMax=3 -N -R 13333:localhost:3333 ubuntu@dm.all8ai.top
kill -9 $(pgrep frpc); cd /Users/freedak/frp && ./frpc -c frpc.toml &
```
### 3. 访问