新增三方接口

master
xiaoCJ 8 months ago
parent 4a4d913e13
commit 2974b95f48

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

Loading…
Cancel
Save