fix 功能调整
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
using Kurisu.Core.Result;
|
||||
using Kurisu.RemoteCall.Attributes;
|
||||
|
||||
namespace Dlhis.User.Api;
|
||||
namespace Dlhis.Sys.Api;
|
||||
|
||||
/// <summary>
|
||||
/// 租户Api
|
||||
@@ -34,4 +34,12 @@ public interface ITenantApi
|
||||
[Auth]
|
||||
[Get("/api/tenants/single")]
|
||||
Task<DefaultApiResult<TenantResponse>> GetTenantByCodeAsync(string code);
|
||||
|
||||
/// <summary>
|
||||
/// 获取我的管理的基地/租户
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[Auth]
|
||||
[Get("/api/tenants/my")]
|
||||
Task<DefaultApiResult<List<TenantResponse>>> GetMyTenantsAsync();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user