feat: 🎸 学员端菜单接口
This commit is contained in:
parent
71c82fa332
commit
925817bb1e
@ -186,6 +186,18 @@ public class AiolMenuController extends JeecgController<AiolMenu, IAiolMenuServi
|
||||
* @return
|
||||
*/
|
||||
@Operation(summary="获取前台菜单")
|
||||
@GetMapping(value = "/getIndexMenus")
|
||||
@IgnoreAuth
|
||||
public Result<List<AiolMenu>> getIndexMenus() {
|
||||
QueryWrapper<AiolMenu> queryWrapper = new QueryWrapper<>();
|
||||
queryWrapper.eq("type", "index")
|
||||
.eq("iz_visible", 1)
|
||||
.orderByDesc("sort_order");
|
||||
List<AiolMenu> menuList = aiolMenuService.list(queryWrapper);
|
||||
return Result.OK(menuList);
|
||||
}
|
||||
|
||||
@Operation(summary="获取学员端菜单")
|
||||
@GetMapping(value = "/getStudentMenus")
|
||||
@IgnoreAuth
|
||||
public Result<List<AiolMenu>> getStudentMenus() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user