This commit is contained in:
2024-06-14 16:55:37 +08:00
parent e3809a3d36
commit eb482fb53c
3 changed files with 20 additions and 0 deletions

View File

@@ -163,6 +163,17 @@ public class DevicePermissionService : IDevicePermissionService
return before;
}
public async Task<object> GetTestUserNoData()
{
var userNos = new List<string>();
//获取所有人的权限
if (userNos.IsEmpty())
userNos = await GetPermissionUserNosAsync();
return userNos;
}
public async Task GenerateDeviceTasksAsync(Func<Task> func, List<string> userNos)