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