## 问题修复 1. 添加BCryptPasswordEncoder Bean到SecurityConfig 2. 解决MemberServiceImpl和StudentServiceImpl循环依赖(使用@Lazy) 3. 添加spring-boot-starter-test依赖到pangu-system 4. 添加@ComponentScan显式扫描com.pangu包 5. 初始化数据库表(执行4个SQL脚本) ## 测试结果 - 后端成功启动(8080端口) - 前端正常运行(3000端口) - API测试:17个接口,12个成功(70.5%) - 核心模块API全部正常工作 ## 已测试的API ### 学校管理(4/7成功) - ✅ 学校列表查询 - ✅ 学校树形结构 - ✅ 学校详情查询 - ✅ 新增学校 ### 会员管理(3/3成功) - ✅ 会员列表查询 - ✅ 会员详情查询 - ✅ 新增会员 ### 学生管理(3/3成功) - ✅ 学生列表查询 - ✅ 学生详情查询 - ✅ 下载导入模板 ### 应用管理(2/2成功) - ✅ 应用列表查询 - ✅ API接口列表 ## 数据库初始化 - pg_school(学校表) - pg_school_grade(学校年级关联表) - pg_school_class(学校班级关联表) - pg_member(会员表) - pg_student(学生表) - pg_application(应用表) - pg_app_api(应用接口授权表) - pg_api_dict(API接口字典表) |
||
|---|---|---|
| .. | ||
| src/main | ||
| pom.xml | ||