|
@@ -16,13 +16,7 @@ import com.ym.mec.common.page.PageUtil;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import org.apache.commons.collections.CollectionUtils;
|
|
import org.apache.commons.collections.CollectionUtils;
|
|
-import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
-import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
-import org.springframework.web.bind.annotation.PathVariable;
|
|
|
|
-import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
import javax.annotation.Resource;
|
|
import java.util.ArrayList;
|
|
import java.util.ArrayList;
|
|
@@ -33,7 +27,7 @@ import java.util.List;
|
|
@RestController
|
|
@RestController
|
|
public class LessonCoursewareController extends BaseController {
|
|
public class LessonCoursewareController extends BaseController {
|
|
|
|
|
|
- @Autowired
|
|
|
|
|
|
+ @Resource
|
|
private CoursewareFeignService coursewareFeignService;
|
|
private CoursewareFeignService coursewareFeignService;
|
|
@Resource
|
|
@Resource
|
|
private LessonCoursewareService lessonCoursewareService;
|
|
private LessonCoursewareService lessonCoursewareService;
|