feat(deploy): 更新后端 API 域名并添加部署指南

- 将后端 API域名从 https://api.jiebanke.com 改为 https://webapi.jiebanke.com
- 新增 CentOS 服务器部署指南和相关脚本
- 更新环境变量配置和 API 文档中的示例 URL
This commit is contained in:
2025-09-08 18:10:41 +08:00
parent 18fe719f94
commit 54d00846ac
13 changed files with 392 additions and 25 deletions

View File

@@ -130,25 +130,17 @@ API测试脚本会自动测试以下接口
### 生产环境
```javascript
{
host: '129.211.213.226',
port: 9527,
user: 'root',
password: 'Aiot123',
database: 'jiebandata',
host: 'nj-cdb-3pwh2kz1.sql.tencentcdb.com',
port: 20784,
user: 'jiebanke',
password: 'aiot741$12346',
database: 'jbkdata',
connectionLimit: 20
}
```
## ⚡ 生产环境连接说明
### 直接连接生产数据库
当前配置已设置为直接连接生产环境MySQL服务器
- **服务器地址**: 129.211.213.226
- **端口**: 9527
- **用户名**: root
- **密码**: Aiot123
- **数据库**: jiebandata
### 注意事项
1. **谨慎操作**: 直接连接生产数据库,所有操作都会影响真实数据