src/main/java/com/whyc/controller/DevInfController.java
@@ -43,13 +43,13 @@ @ApiOperation(value = "新获取左侧列表") @GetMapping("getLine") public Response getLine(){ return service.getLine(101); return service.getDevType(101); } @ApiOperation(value = "编辑设备信息") @PostMapping("uodateInf") public Response uodateInf(@RequestBody DevInf dinf){ return service.uodateInf(dinf); @PostMapping("updateInf") public Response updateInf(@RequestBody DevInf dinf){ return service.updateInf(dinf); } }