Merge branch 'master' of https://gitee.com/wjl2008_admin/nuttyreading-java into zcc
This commit is contained in:
@@ -60,8 +60,8 @@ public class CourseController {
|
||||
}
|
||||
|
||||
@RequestMapping("/getCourseCatalogues")
|
||||
public R getCourseCatalogues(int id){
|
||||
List<CourseCatalogueEntity> courseCatalogues = courseCatalogueService.getCourseCatalogues(id);
|
||||
public R getCourseCatalogues(@RequestBody ParamTo param){
|
||||
List<CourseCatalogueEntity> courseCatalogues = courseCatalogueService.getCourseCatalogues(param.getId());
|
||||
return R.ok().put("catalogues",courseCatalogues);
|
||||
}
|
||||
|
||||
|
||||
@@ -7,7 +7,11 @@ import com.peanut.modules.common.dao.CourseCatalogueChapterVideoDao;
|
||||
import com.peanut.modules.common.entity.CourseCatalogueChapterVideoEntity;
|
||||
import com.peanut.modules.common.to.ParamTo;
|
||||
import com.peanut.modules.master.service.CourseCatalogueChapterVideoService;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Slf4j
|
||||
@Service("masterCourseCatalogueChapterVideoService")
|
||||
public class CourseCatalogueChapterVideoServiceImpl extends ServiceImpl<CourseCatalogueChapterVideoDao, CourseCatalogueChapterVideoEntity> implements CourseCatalogueChapterVideoService {
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user