feat: 初始化考培练系统项目

- 从服务器拉取完整代码
- 按框架规范整理项目结构
- 配置 Drone CI 测试环境部署
- 包含后端(FastAPI)、前端(Vue3)、管理端

技术栈: Vue3 + TypeScript + FastAPI + MySQL
This commit is contained in:
111
2026-01-24 19:33:28 +08:00
commit 998211c483
1197 changed files with 228429 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
-- 为课程表添加学员统计等字段
ALTER TABLE `courses`
ADD COLUMN `student_count` INT DEFAULT 0 COMMENT '学习人数' AFTER `is_featured`,
ADD COLUMN `is_new` BOOLEAN DEFAULT TRUE COMMENT '是否新课程最近30天内发布' AFTER `student_count`,
ADD INDEX `idx_student_count` (`student_count`),
ADD INDEX `idx_is_new` (`is_new`);