完成从Node.js/NestJS到Java Spring Boot的后端迁移,修复资源管理API错误。 **核心修复:** - 修复资源库API 500错误 - ResourceLibrary/ResourceItem实体与数据库表结构对齐 - 更新ID类型从Long改为String,匹配数据库varchar(32) - 修正字段映射(libraryType → type) **新增Java实体(7个):** - CoursePackage, CoursePackageCourse, TenantPackage - CourseLesson, LessonStep, LessonStepResource - Theme **新增API控制器(5个):** - AdminResourceController - 资源库管理 - AdminPackageController - 课程套餐管理 - AdminCourseLessonController - 课程环节管理 - AdminThemeController - 主题字典管理 - SchoolPackageController - 学校套餐管理 **新增服务层(5个):** - ResourceLibraryService, CoursePackageService, CourseLessonService - ThemeService, FileStorageService **文档更新:** - 新增 Java环境配置与启动指南.md - 新增 Java后端启动完整指南.md - 新增 数据库迁移指南.md - 更新 CHANGELOG.md 和开发日志 **前端修复:** - 解决package.json合并冲突 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
53 lines
1.5 KiB
JSON
53 lines
1.5 KiB
JSON
{
|
|
"name": "reading-platform-frontend",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vue-tsc && vite build",
|
|
"preview": "vite preview",
|
|
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
|
|
"test:e2e": "playwright test",
|
|
"test:e2e:ui": "playwright test --ui",
|
|
"test:e2e:headed": "playwright test --headed",
|
|
"api:update": "orval",
|
|
"api:watch": "orval --watch"
|
|
},
|
|
"dependencies": {
|
|
"@ant-design/icons-vue": "^7.0.1",
|
|
"@fullcalendar/core": "^6.1.20",
|
|
"@fullcalendar/daygrid": "^6.1.20",
|
|
"@fullcalendar/interaction": "^6.1.20",
|
|
"@fullcalendar/timegrid": "^6.1.20",
|
|
"@fullcalendar/vue3": "^6.1.20",
|
|
"ant-design-vue": "^4.1.2",
|
|
"axios": "^1.6.7",
|
|
"dayjs": "^1.11.10",
|
|
"echarts": "^6.0.0",
|
|
"lodash-es": "^4.17.21",
|
|
"lucide-vue-next": "^0.575.0",
|
|
"pdfjs-dist": "^3.11.174",
|
|
"pinia": "^2.1.7",
|
|
"vue": "^3.4.21",
|
|
"vue-router": "^4.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.58.2",
|
|
"@types/lodash-es": "^4.17.12",
|
|
"@types/node": "^20.11.28",
|
|
"@vitejs/plugin-vue": "^5.0.4",
|
|
"@vue/tsconfig": "^0.5.1",
|
|
"@playwright/test": "^1.58.2",
|
|
"orval": "^8.5.3",
|
|
"sass-embedded": "^1.97.3",
|
|
"typescript": "~5.4.0",
|
|
"unplugin-auto-import": "^0.17.5",
|
|
"unplugin-vue-components": "^0.26.0",
|
|
"unplugin-vue-router": "^0.19.2",
|
|
"vite": "^5.1.6",
|
|
"vite-plugin-compression": "^0.5.1",
|
|
"vue-tsc": "^2.0.6"
|
|
}
|
|
}
|