严智鑫
2024-03-04 57596a1ecf0ee9764869658db91101aa40c4e1e9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package com.mes.controller.userInfo;
 
import com.mes.common.Result;
import com.mes.service.userInfo.SysMenuItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
 
@RestController
@RequestMapping("/menuItem")
public class SysMenuItemController {
    @Autowired
    SysMenuItemService sysMenuItemService;
    @GetMapping
    public Result getMenuItem(){
        return Result.seccess(sysMenuItemService.getMenuItem());
    }
}