package com.teaching.backend.controller.courses; import com.teaching.backend.common.BaseResponse; import com.teaching.backend.common.ResultUtils; import com.teaching.backend.model.entity.courses.ObjectiveContents; import com.teaching.backend.service.courses.IObjectiveContentsService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; /** *
* 前端控制器 *
* * @author zjh * @since 2024-06-05 */ @RestController @RequestMapping("/objective_contents") @Api(tags = "目标内容接口") public class ObjectiveContentsController { @Autowired IObjectiveContentsService objectiveContentsService; @ApiOperation("添加目标内容") @PostMapping("/addcontent") public BaseResponse