|
|
@@ -3,7 +3,6 @@ package com.zhongshu.card.server.core.controller.devices.deviceProduct;
|
|
|
import com.github.microservice.auth.security.annotations.ResourceAuth;
|
|
|
import com.github.microservice.auth.security.type.AuthType;
|
|
|
import com.github.microservice.net.ResultContent;
|
|
|
-import com.zhongshu.card.client.model.base.IDParam;
|
|
|
import com.zhongshu.card.client.model.base.IDsParam;
|
|
|
import com.zhongshu.card.client.model.devices.deviceProduct.DeviceProductBindDeviceBind;
|
|
|
import com.zhongshu.card.client.model.devices.deviceProduct.DeviceProductBindDeviceModel;
|
|
|
@@ -44,14 +43,7 @@ public class DeviceProductBindDeviceController {
|
|
|
}
|
|
|
|
|
|
@ResourceAuth(value = "user", type = AuthType.User)
|
|
|
- @Operation(summary = "删除设备", description = "删除设备")
|
|
|
- @RequestMapping(value = "deleteDeviceInfo", method = {RequestMethod.POST})
|
|
|
- public ResultContent deleteDeviceInfo(@RequestBody IDParam param) {
|
|
|
- return this.deviceProductBindDeviceService.deleteDeviceInfo(param.getId());
|
|
|
- }
|
|
|
-
|
|
|
- @ResourceAuth(value = "user", type = AuthType.User)
|
|
|
- @Operation(summary = "删除设备(多个)", description = "删除设备(多个)")
|
|
|
+ @Operation(summary = "移除设备(多个)", description = "移除设备(多个)")
|
|
|
@RequestMapping(value = "deleteDevicesInfo", method = {RequestMethod.POST})
|
|
|
public ResultContent deleteDevicesInfo(@RequestBody IDsParam param) {
|
|
|
return this.deviceProductBindDeviceService.deleteDevicesInfo(param);
|