package com.panzhihua.sangeshenbian.api; import com.panzhihua.common.interfaces.OperLog; import com.panzhihua.common.model.vos.R; import com.panzhihua.sangeshenbian.model.entity.SystemMenu; import com.panzhihua.sangeshenbian.service.ISystemMenuService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import javax.annotation.Resource; import java.util.List; /** * @author zhibing.pu * @Date 2025/2/23 1:22 */ @Api @RestController @RequestMapping("/systemMenu") public class SystemMenuController { @Resource private ISystemMenuService systemMenuService; @GetMapping("/getSystemMenuList") @ApiOperation(value = "获取菜单列表", tags = {"三个身边后台-角色管理"}) @OperLog(operModul = "三个身边后台",operType = 0, businessType = "获取菜单列表") public R> getSystemMenuList(){ return R.ok(systemMenuService.getSystemMenuList()); } }