| | |
| | | private final InterphoneSubService interphoneSubService; |
| | | |
| | | /** |
| | | * 新增主机 |
| | | * @param interphoneHostParam |
| | | * 新增子设备 |
| | | * @param |
| | | * @return |
| | | */ |
| | | @PostMapping("/add") |
| | |
| | | } |
| | | |
| | | /** |
| | | * 修改主机 |
| | | * 修改子设备 |
| | | */ |
| | | @PostMapping("/update/{id}") |
| | | public ResponseVO<Object> updateSub(@PathVariable Integer id, @RequestBody InterphoneSubParam interphoneSubParam){ |
| | |
| | | } |
| | | |
| | | /** |
| | | * 删除主机 |
| | | * 删除子设备 |
| | | */ |
| | | @PostMapping("/delete/{id}") |
| | | public ResponseVO<Object> deleteSub(@PathVariable Integer id){ |
| | |
| | | } |
| | | |
| | | /** |
| | | * 主机详情 |
| | | * 子设备详情 |
| | | */ |
| | | @GetMapping("/detail/{id}") |
| | | public ResponseVO<Object> detailSub(@PathVariable Integer id){ |