|
|
@@ -138,24 +138,7 @@ public class BusDeviceController implements
|
|
|
return R.success(true);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-// /**
|
|
|
-// * @author 龙三郎
|
|
|
-// * 从阿里云同步系统所有的设备,只有超级管理员才有此权限。将阿里云所有的设备同步到系统。
|
|
|
-// * @return
|
|
|
-// */
|
|
|
-// @ApiOperation(value = "从阿里云同步设备1",notes = "从阿里云平台获取设备并更新,权限【device:info:poll】")
|
|
|
-// @SaCheckPermission("device:info:poll")
|
|
|
-// @PutMapping("/sync-device1")
|
|
|
-// public R syncDevice1() {
|
|
|
-// int i = deviceService.syncAllDevice();
|
|
|
-// if (i > 0){
|
|
|
-// return R.success(i,"同步成功");
|
|
|
-// }else {
|
|
|
-// return R.fail("同步失败");
|
|
|
-// }
|
|
|
-// }
|
|
|
-
|
|
|
+ @Log(title = "删除设备")
|
|
|
@PostMapping("/remove")
|
|
|
@ApiImplicitParams({
|
|
|
@ApiImplicitParam(name = "id",value = "主键id",required = true)
|