|
@@ -103,7 +103,7 @@ public class CourseApi {
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value="按orgId查询课程",notes="orgId查询")
|
|
|
- @GetMapping("/{orgId}")
|
|
|
+ @GetMapping("/org/{orgId}")
|
|
|
public ResponseEntity getCourseByOrgId(@PathVariable Long orgId){
|
|
|
return new ResponseEntity(courseRepo.findByOrgId(orgId),HttpStatus.OK);
|
|
|
}
|