Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
邬吉朋
practical_train
Commits
1499ed50
Commit
1499ed50
authored
Aug 10, 2026
by
wujipeng
Browse files
优化
parent
c81bee54
Changes
1
Show whitespace changes
Inline
Side-by-side
practical-business/src/main/java/com/platform/business/controller/ClassController.java
View file @
1499ed50
...
...
@@ -58,6 +58,12 @@ public class ClassController extends BaseController {
return
Result
.
data
(
classService
.
scheduleDetail
(
classSubjectDTO
));
}
@ApiOperation
(
"学生端-学习中心-我的课程-今日课程"
)
@GetMapping
(
"/today/course/{userId}"
)
public
Result
<
List
<
CalendarVO
>>
todayCourse
(
@PathVariable
String
userId
)
{
return
Result
.
data
(
classService
.
todayCourse
(
userId
));
}
@ApiOperation
(
"教师端-教学管理-我的课程-日历"
)
@PostMapping
(
"/schedule/teacher"
)
public
Result
<
List
<
ClassVO
>>
scheduleTeacher
(
@RequestBody
ClassDTO
classDTO
)
{
...
...
@@ -76,12 +82,6 @@ public class ClassController extends BaseController {
return
Result
.
data
(
classService
.
list
());
}
@ApiOperation
(
"学生端-学习中心-我的课程-今日课程"
)
@GetMapping
(
"/today/course/{userId}"
)
public
Result
<
List
<
CalendarVO
>>
todayCourse
(
@PathVariable
String
userId
)
{
return
Result
.
data
(
classService
.
todayCourse
(
userId
));
}
@ApiOperation
(
"今日课程-签到"
)
@PostMapping
(
"/today/course/signIn"
)
public
Result
<
Boolean
>
todayCourseSignIn
(
@RequestBody
CalendarDTO
calendarDTO
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment