Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
legobackend
/
lego-manage
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
ba669f40
authored
2024-11-02 21:52:19 +0800
by
村长大人
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改BUG
1 parent
2475357c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
lego-admin/src/main/java/com/lego/web/controller/core/BuildingBlockController.java
lego-admin/src/main/java/com/lego/web/controller/core/CourseController.java
lego-admin/src/main/java/com/lego/web/controller/core/BuildingBlockController.java
View file @
ba669f4
...
...
@@ -50,7 +50,7 @@ public class BuildingBlockController extends BaseController {
* @return
*/
@GetMapping
(
"/getById/{id}"
)
public
R
<
BuildingBlockVo
>
getById
(
@
RequestParam
(
"id"
)
String
id
)
{
public
R
<
BuildingBlockVo
>
getById
(
@
PathVariable
String
id
)
{
return
R
.
ok
(
service
.
get
(
id
));
}
...
...
lego-admin/src/main/java/com/lego/web/controller/core/CourseController.java
View file @
ba669f4
...
...
@@ -50,7 +50,7 @@ public class CourseController extends BaseController {
* @return
*/
@GetMapping
(
"/list/{buildingBlockId}"
)
public
R
<
List
<
CourseVo
>>
list
(
@PathVariable
String
buildingBlockId
)
{
public
R
<
List
<
CourseVo
>>
list
(
@PathVariable
(
"buildingBlockId"
)
String
buildingBlockId
)
{
return
R
.
ok
(
service
.
list
(
buildingBlockId
));
}
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment