物联设备增加抛出异常

This commit is contained in:
曹磊 2026-04-29 09:07:43 +08:00
parent a73785a9f4
commit 9e4948b5c7
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ public class DeviceManagerController extends JeecgController<DeviceManager, IDev
* @return * @return
*/ */
@PostMapping(value = "/addLog") @PostMapping(value = "/addLog")
public Result<String> addLog(@RequestBody DeviceBindLog deviceBindLog) { public Result<String> addLog(@RequestBody DeviceBindLog deviceBindLog) throws Exception {
service.addLog(deviceBindLog); service.addLog(deviceBindLog);
return Result.OK("更改成功!"); return Result.OK("更改成功!");
} }