fix 重构数据同步
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user