首页 > 其他分享 >EmployeeController类的声明

EmployeeController类的声明

时间:2023-03-20 09:56:31浏览次数:45  
标签:Autowiredprivate RestController RequestMapping service EmployeeController 声明

注解:

@Slf4j
@RestController
@RequestMapping("/employee")

注入service:
@Autowired
private EmployeeService employeeService;

====================================================

 


 





标签:Autowiredprivate,RestController,RequestMapping,service,EmployeeController,声明
From: https://www.cnblogs.com/dahuilang21/p/17235284.html

相关文章