refactor 优化代码
This commit is contained in:
@@ -29,8 +29,7 @@ public class CreateDefinitelyGroupJob : BaseJob
|
||||
protected override async Task RunAsync(IServiceProvider serviceProvider)
|
||||
{
|
||||
//获取所有基地信息
|
||||
var tenantResult = await _tenantApi.GetTenantsInternalAsync();
|
||||
var tenants = tenantResult.Data;
|
||||
var tenants = await _tenantApi.GetTenantsInternalAsync();
|
||||
|
||||
Logger.LogInformation("获取基地信息:{json}", JsonConvert.SerializeObject(tenants));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user