| | |
| | | @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); |
| | | } |
| | | |
| | | @ApiOperation(value = "删除设备(同时删除实时和包机组信息)") |
| | | @GetMapping("delDinf") |
| | | public Response delDinf( Integer devId){ |
| | | return service.delDinf(devId); |
| | | } |
| | | } |