Merge remote-tracking branch 'origin/master'

master
wenyu441069198 5 months ago
commit d925ed37b5
  1. 7
      src/main/java/com/teaching/backend/controller/courses/ObjectiveContentsController.java

@ -48,4 +48,11 @@ public class ObjectiveContentsController {
return ResultUtils.success("修改成功"); return ResultUtils.success("修改成功");
} }
@ApiOperation("根据id查询目标内容")
@GetMapping("/{id}")
public BaseResponse<ObjectiveContents> updateContent(@PathVariable String id){
ObjectiveContents objectiveContent = objectiveContentsService.getById(id);
return ResultUtils.success(objectiveContent);
}
} }

Loading…
Cancel
Save