fixed:typo

This commit is contained in:
none 2023-05-08 14:01:03 +08:00
parent cedc363f09
commit 5fd6b8c2d8

View File

@ -118,7 +118,7 @@ public class CourseUserController {
Collectors.toMap(
UserCourseHourRecordUserCountMapper::getUserId,
UserCourseHourRecordUserCountMapper::getTotal)));
data.put("courses", courseService.findOrFail(courseId));
data.put("course", courseService.findOrFail(courseId));
return JsonResponse.data(data);
}