|
|
@ -16,6 +16,7 @@ |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
package org.springblade.system.controller; |
|
|
|
package org.springblade.system.controller; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
|
|
|
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; |
|
|
|
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; |
|
|
|
import io.swagger.annotations.*; |
|
|
|
import io.swagger.annotations.*; |
|
|
|
import lombok.AllArgsConstructor; |
|
|
|
import lombok.AllArgsConstructor; |
|
|
@ -263,7 +264,7 @@ public class MenuController extends BladeController { |
|
|
|
if (Func.isEmpty(user)) { |
|
|
|
if (Func.isEmpty(user)) { |
|
|
|
return null; |
|
|
|
return null; |
|
|
|
} |
|
|
|
} |
|
|
|
List<TopMenu> list = topMenuService.list(); |
|
|
|
List<TopMenu> list = topMenuService.list(Wrappers.<TopMenu>query().lambda().orderByAsc(TopMenu::getSort)); |
|
|
|
return R.data(list); |
|
|
|
return R.data(list); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|