feat: 更新 API 响应结构,统一使用 statusCode 和 errMsg 替代 code 和 msg;新增用户类型和公司 ID 字段;优化数据库索引;添加公司所有者同步测试脚本

This commit is contained in:
2026-03-29 19:57:04 +08:00
parent e9fe1165e3
commit 50c09d855b
50 changed files with 851 additions and 601 deletions

View File

@@ -108,7 +108,7 @@ npm run test
```json
{
"code": 200,
"statusCode": 200,
"message": "success",
"data": {}
}
@@ -118,7 +118,7 @@ npm run test
```json
{
"code": 400,
"statusCode": 400,
"message": "错误信息",
"data": null
}
@@ -150,4 +150,5 @@ npm run test
## 部署说明
详见 [部署文档](deployment.md)。
详见 [部署文档](deployment.md)。