fix 重构数据同步

This commit is contained in:
2024-01-16 18:59:28 +08:00
parent 9b0caabac4
commit be5b702787
44 changed files with 1369 additions and 1437 deletions

View File

@@ -40,6 +40,17 @@ public class TenantsController : ControllerBase
return await _tenantService.GetListAsync();
}
/// <summary>
/// 内部使用接口
/// </summary>
/// <returns></returns>
[AllowAnonymous]
[HttpGet("list-internal")]
public async Task<List<TenantResponse>> GetListInternalAsync()
{
return await _tenantService.GetListAsync();
}
/// <summary>
/// 获取租户
/// </summary>
@@ -49,5 +60,5 @@ public class TenantsController : ControllerBase
{
return await _tenantService.GetTenantByCode(code);
}
}