# 修改/core/upgrade/list接口
1. 课程案例和教案文件返回格式新增字段
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -123,7 +123,7 @@ public class CourseServiceImpl implements ICourseService { | ... | @@ -123,7 +123,7 @@ public class CourseServiceImpl implements ICourseService { |
| 123 | */ | 123 | */ |
| 124 | @Override | 124 | @Override |
| 125 | public List<CourseVo> list() { | 125 | public List<CourseVo> list() { |
| 126 | List<CourseVo> list = selectCanPackList(); | 126 | List<CourseVo> list = baseMapper.selectVoList(null); |
| 127 | for (CourseVo vo : list) { | 127 | for (CourseVo vo : list) { |
| 128 | if(StrUtil.isNotBlank(vo.getTwoDimensionalOssId())){ | 128 | if(StrUtil.isNotBlank(vo.getTwoDimensionalOssId())){ |
| 129 | vo.setTwoDimensionalOssUrl(ossUrlService.selectUrlByIds(vo.getTwoDimensionalOssId())); | 129 | vo.setTwoDimensionalOssUrl(ossUrlService.selectUrlByIds(vo.getTwoDimensionalOssId())); | ... | ... |
-
Please register or sign in to post a comment