| | |
| | | return ResponseUtil.success(ledV2RegisterResultEntity); |
| | | } |
| | | |
| | | @PostMapping("/updateLedName/{id}") |
| | | public ResponseVO<Object> updateLedName(@PathVariable Long id,@RequestBody Map map) { |
| | | String name = (String)map.get("name"); |
| | | boolean b = vnnoxService.updateDataName(id, name); |
| | | if(b){ |
| | | return ResponseUtil.success("更改成功"); |
| | | }{ |
| | | return ResponseUtil.success("更改失败"); |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | | @GetMapping("/list") |
| | | public ResponseVO<Object> list(BaseConditionVO baseConditionVO, @RequestParam(value = "keyword", required = false) String keyword) { |