Study/server/sql/执行说明.txt

61 lines
1.6 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

学习系统SQL执行说明
====================
📋 执行顺序(重要!)
====================
第一步:基础配置
mysql> source server/sql/01_learning_system_init.sql;
第二步:角色权限
mysql> source server/sql/02_learning_system_roles.sql;
🎯 执行后效果
====================
✅ 数据字典8个完整字典配置
✅ 菜单权限2个主菜单 + 10个子菜单
✅ API权限70个接口权限配置
✅ 用户角色:教师角色(1001) + 学生角色(1002)
📊 系统模块统计
====================
后端模块8个核心模块
- Course课程管理
- Chapter章节管理
- KnowledgePoint知识点管理
- Question题目管理
- Exam考试管理
- UserLearning学习记录管理
- WrongQuestion错题本管理
- UserExam用户考试记录管理
前端页面:完整的教师端和学生端界面
- 教师端教学管理界面6个管理页面
- 学生端在线学习界面4个学习页面
🔧 测试账号(可选)
====================
如需测试账号请取消注释02文件中的测试用户部分
教师账号teacher / 123456
学生账号student / 123456
⚠️ 注意事项
====================
1. 必须按顺序执行01 → 02
2. 执行前请备份数据库
3. 确保数据库用户有足够权限
4. 执行完成后重启应用程序
🚀 完成后体验
====================
教师登录:看到"教学管理"菜单,跳转到/learning
学生登录:看到"在线学习"菜单,跳转到/student现代化Dashboard
详细说明请查看README.md