|
@@ -117,6 +117,15 @@ public class UserController {
|
|
|
return new AjaxMessage<>(ResultStatus.OK, menuEntityList);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 按应用查询菜单信息(所有租户菜单:isTenant=1)
|
|
|
+ */
|
|
|
+ @ApiOperation(value = "查询应用菜单信息")
|
|
|
+ @RequestMapping(value = "/findTenantMenu", method = RequestMethod.GET)
|
|
|
+ public AjaxMessage<List<MenuEntity>> findTenantMenu(@ApiParam(value = "应用ID", required = true) @RequestParam String appId) {
|
|
|
+ List<MenuEntity> menuEntityList = menuService.findTenantMenu(appId);
|
|
|
+ return new AjaxMessage<>(ResultStatus.OK, menuEntityList);
|
|
|
+ }
|
|
|
/**
|
|
|
* 新增
|
|
|
*/
|