refactor 优化代码
This commit is contained in:
@@ -379,8 +379,7 @@ public class DevicePermissionService : IDevicePermissionService
|
||||
.Where(x => x.num == 1)
|
||||
.ToListAsync();
|
||||
|
||||
var tenantsResult = await _tenantApi.GetTenantsInternalAsync();
|
||||
var tenants = tenantsResult.Data;
|
||||
var tenants = await _tenantApi.GetTenantsInternalAsync();
|
||||
|
||||
page.Data.ForEach(x =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user