refactor(backend): 统一API响应格式,新增企业微信同步模块
- 标准化所有后端JSON接口的响应格式,统一使用`{code, message, data}`结构
- 统一错误响应格式,所有异常返回标准化错误结构
- 为列表接口补充page/page_size字段,规范分页响应格式
- 新增企业微信数据同步全模块,包含数据库模型、同步客户端、服务层与API端点
- 优化SQLite配置,启用WAL模式并增加连接超时设置
- 重构Agent相关Schema,简化响应模型结构
- 补充对应OpenSpec文档与测试用例
Showing
66 changed files
with
4180 additions
and
244 deletions
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
No preview for this file type
workspace/agent-admin/backend/dev.db-shm
0 → 100644
No preview for this file type
workspace/agent-admin/backend/dev.db-wal
0 → 100644
No preview for this file type
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment