feat: 🎸 课程总数

This commit is contained in:
GoCo 2025-08-29 05:12:30 +08:00
parent 5861ce2655
commit bf470b1c79

View File

@ -219,6 +219,16 @@ public class CourseBizController {
return Result.OK(progress);
}
@GetMapping("/count")
@Operation(summary = "查询课程总数", description = "返回系统中所有课程的总数量")
@IgnoreAuth
public Result<Long> queryCourseCount() {
long count = courseBizService.count();
return Result.OK(count);
}
@GetMapping("/test")
@IgnoreAuth
public Result<String> test() {