fix 逻辑调整

This commit is contained in:
2024-12-11 00:30:25 +08:00
parent 7820733a3a
commit eb7c4bd7c0
9 changed files with 281 additions and 160 deletions

View File

@@ -34,8 +34,7 @@ public class DeviceGroupsController : ControllerBase
[DataPermission]
public async Task<List<DeviceGroupTreeResponse>> GetTreeAsync(
[EnumDataType(typeof(DeviceTypeEnumType), ErrorMessage = "请选择正确的类型")]
DeviceTypeEnumType type
)
DeviceTypeEnumType type)
{
return await _deviceGroupService.GetTreeAsync(type);
}