feat: 重构前后端架构,添加Go后端和Python Agent服务
- 新增 Go 语言后端服务(server/),包含用户认证、Agent管理、数据库连接等API - 新增 Python Agent 服务(agent/),实现Agent核心逻辑和工具集 - 前端从原生HTML迁移到Vue.js框架(web/src/) - 添加 Docker Compose 支持(docker-compose.yml) - 添加项目架构文档(docs/ARCHITECTURE.md) - 添加环境变量示例(.env.example)和本地启动脚本(start-local.ps1) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"database_id": "101fbee1-8400-46ae-b83b-e3898e4888b6",
|
||||
"database_name": "123",
|
||||
"db_type": "mysql",
|
||||
"tables": [
|
||||
{
|
||||
"id": "042db4ca-512f-4ee9-aacb-2d7ff1bc2193",
|
||||
"database_id": "101fbee1-8400-46ae-b83b-e3898e4888b6",
|
||||
"parent_table": "scores",
|
||||
"sub_table_name": "scores",
|
||||
"sub_table_comment": "",
|
||||
"mapping_type": "",
|
||||
"relation_field": "",
|
||||
"relation_type": "",
|
||||
"fields": null,
|
||||
"ddl": "CREATE TABLE `scores` (\n`id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '分数id'\n `student_id` int(10) unsigned NOT NULL,\n `subject` varchar(50) NOT NULL COMMENT '科目',\n `score` double DEFAULT NULL COMMENT '分数',\n `teacher_id` int(10) unsigned DEFAULT NULL,\n `exam_date` date DEFAULT NULL COMMENT '考试日期',\n `created_at` datetime DEFAULT CURRENT_TIMESTAMP,\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB AUTO_INCREMENT=48 DEFAULT CHARSET=utf8mb4",
|
||||
"created_at": "2026-03-06T16:23:31.097+08:00",
|
||||
"updated_at": "2026-03-06T16:23:31.097+08:00"
|
||||
}
|
||||
],
|
||||
"updated_at": "2026-03-06T16:23:31.1477776+08:00"
|
||||
}
|
||||
Reference in New Issue
Block a user