refactor 优化代码
This commit is contained in:
@@ -79,8 +79,7 @@ public class FactorySettingService : IFactorySettingService
|
||||
}
|
||||
else
|
||||
{
|
||||
var apiResult = await _tenantApi.GetMyTenantsAsync();
|
||||
factories = apiResult.Data;
|
||||
factories = await _tenantApi.GetMyTenantsAsync();
|
||||
}
|
||||
|
||||
var factoryCodes = factories.Select(x => x.Code).ToList();
|
||||
|
||||
Reference in New Issue
Block a user