feat: 🎸 课程总数
This commit is contained in:
parent
5861ce2655
commit
bf470b1c79
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user