Browse Source

更新!

TRX 1 year ago
parent
commit
0b878759df

+ 2 - 2
FullCardClient/src/main/java/com/zhongshu/card/client/model/base/SuperSearch.java

@@ -24,8 +24,8 @@ public class SuperSearch implements Serializable {
     @JsonProperty("oid")
     private String oid;
 
-    @Schema(description = "epId")
-    private String epId;
+//    @Schema(description = "epId")
+//    private String epId;
 
     @Schema(description = "所属项目oid")
     private String projectOid;

+ 1 - 9
FullCardServer/src/main/java/com/zhongshu/card/server/core/controller/devices/deviceProduct/DeviceProductBindDeviceController.java

@@ -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);