zhonghua
|
a8931c8708
|
前端配置调整
|
2026-03-26 14:02:08 +08:00 |
|
|
|
bad446c069
|
Merge remote-tracking branch 'origin/master'
|
2026-03-19 09:39:52 +08:00 |
|
Claude Opus 4.6
|
10936b7a78
|
fix: 修复迁移脚本被 .gitignore 忽略的问题
- 添加 !**/db/migration/*.sql 例外规则
- 补充 V32-V37 Flyway 迁移脚本
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-03-19 09:39:38 +08:00 |
|
|
|
1d4bf52d05
|
fix: 修复租户管理选择套餐显示 NaN 元问题
问题原因:
- 租户管理页面调用 /api/v1/admin/packages/all 获取课程包
- 但 CoursePackage 实体没有 price 和 discountPrice 字段
- 这些字段在 CourseCollection(课程套餐)实体中
后端修改:
- AdminCourseCollectionController 新增 GET /all 接口
- 返回已发布的课程套餐列表(含价格信息)
- 添加 @Slf4j 注解和必要导入
前端修改:
- src/api/admin.ts 修改 API 调用路径为 /collections/all
- 修改返回类型为 CourseCollectionResponse[]
- TenantListView.vue 修改 packageList 类型
- 修复 formatPackagePrice 处理 undefined 值
- 修复 handlePackageTypeChange 类型检查
数据库迁移:
- 添加 V38 脚本为 course_collection 表添加自增主键
其他修改:
- .gitignore 移除 *.sql 排除规则(允许迁移脚本)
- CourseCollectionRejectRequest 和 CourseRejectRequest 用于审核驳回
修复的 TypeScript 错误:
- formatPackagePrice 参数改为可选类型
- selectedPackage.name 添加可选链操作符
|
2026-03-19 09:34:54 +08:00 |
|
zhonghua
|
c2f4a77d85
|
gitignore: 忽略自动生成的 components.d.ts 和 typed-router.d.ts
Made-with: Cursor
|
2026-03-18 10:17:26 +08:00 |
|
Claude Opus 4.6
|
0809a43349
|
chore: 添加项目 .gitignore 和整理工具文件
- 新增 .gitignore:忽略备份、临时文件、IDE配置等
- 创建 backups/ 目录:存放数据库备份
- 创建 tools/ 目录:存放实用脚本(reset_passwords.py)
- 移动文件到相应目录
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-03-17 19:36:08 +08:00 |
|
zhonghua
|
a461f58d3a
|
fix: orval API 生成优化 - 修复 oneOf schema 验证错误
- 新增 scripts/fetch-openapi.js:拉取并修复 OpenAPI 文档
- 内联 ResultObject[] 的 \,移除非法 schema 名
- orval 使用本地 openapi.json,api:update 自动执行 api:fetch
- AdminStatsController: Result<Object[]> 改为 Result<List<Map<String, Object>>>
- .gitignore: 忽略 openapi.json
Made-with: Cursor
|
2026-03-16 10:45:15 +08:00 |
|
|
|
6e11c874d2
|
chore: 忽略 target 目录和 .class 文件
- 添加 target/ 到 .gitignore
- 从 git 暂存区移除已追踪的 target 目录
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-03-14 16:50:54 +08:00 |
|
zhonghua
|
bb3db79758
|
配置调整
|
2026-02-28 03:06:20 +08:00 |
|
zhonghua
|
6da007c2ce
|
git优化
|
2026-02-28 01:50:49 +08:00 |
|
zhonghua
|
39b49bd808
|
系统完善
|
2026-02-28 01:48:21 +08:00 |
|