| | |
| | | package com.panzhihua.westcommittee.api; |
| | | |
| | | import com.panzhihua.common.controller.BaseController; |
| | | import com.panzhihua.common.interfaces.OperLog; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.westcommittee.model.entity.SystemMenu; |
| | |
| | | @Api |
| | | @RestController |
| | | @RequestMapping("/systemMenu") |
| | | public class SystemMenuController { |
| | | public class SystemMenuController extends BaseController { |
| | | |
| | | @Resource |
| | | private ISystemMenuService systemMenuService; |
| | |
| | | @ApiOperation(value = "获取菜单列表", tags = {"西区纪委后台-角色管理"}) |
| | | @OperLog(operModul = "西区纪委后台",operType = 0, businessType = "获取菜单列表") |
| | | public R<List<SystemMenu>> getSystemMenuList(){ |
| | | return R.ok(systemMenuService.getSystemMenuList()); |
| | | return R.ok(systemMenuService.getSystemMenuList(getLoginUserInfoWest())); |
| | | } |
| | | } |