新增三方接口

master
xiaoCJ 8 months ago
parent 4a4d913e13
commit 2974b95f48

@ -190,12 +190,20 @@ public class CourseApi {
String oneId = sysOneCatalogs.getOneId(); String oneId = sysOneCatalogs.getOneId();
return threeCatalogMapper.countByOneId(oneId); return threeCatalogMapper.countByOneId(oneId);
} }
/** /**
* ID * ID
* selectChapterByChapterId * selectChapterByChapterId
* chapterId * chapterId
* return:SysThreeCatalog * return:SysThreeCatalog
*/ */
@AnonymousAccess
@ApiOperation("根据章节ID查询章节信息")
@PostMapping("selectChapterByChapterId")
public SysThreeCatalog selectChapterByChapterId(String chapterId) {
return threeCatalogMapper.selectByPrimaryKey(chapterId);
}
} }

Loading…
Cancel
Save