启用禁用员工 Controller
路径参数前面加上Path~注解来获取参数 PostMapping("/status/{status}")
ApiOperation("启用禁用员工")
public Result StartOrStop(PathVariable("status") Integer status, Long id){log.info("启用禁用")…
0 概述
2004 年埃里克埃文斯(Eric Evans)发表了《领域驱动设计》(Domain-Driven Design –Tackling Complexity in the Heart of Software)这本书,从此领域驱动设计(Domain Driven Design,简称…