物联设备增加抛出异常
This commit is contained in:
parent
a73785a9f4
commit
9e4948b5c7
|
|
@ -242,7 +242,7 @@ public class DeviceManagerController extends JeecgController<DeviceManager, IDev
|
|||
* @return
|
||||
*/
|
||||
@PostMapping(value = "/addLog")
|
||||
public Result<String> addLog(@RequestBody DeviceBindLog deviceBindLog) {
|
||||
public Result<String> addLog(@RequestBody DeviceBindLog deviceBindLog) throws Exception {
|
||||
service.addLog(deviceBindLog);
|
||||
return Result.OK("更改成功!");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue