fix 映射转换

This commit is contained in:
2025-03-25 11:30:00 +08:00
parent 12340b38e8
commit c6c9a9a1cd
6 changed files with 29 additions and 8 deletions

View File

@@ -1,4 +1,5 @@
using Dlhis.Sys.Api.Response;
using Dlhis.Sys.Api.Request;
using Dlhis.Sys.Api.Response;
using Kurisu.RemoteCall.Attributes;
namespace Dlhis.Sys.Api;
@@ -13,5 +14,5 @@ public interface IUserApi
[Auth]
[Post("/api/users/by-ids")]
Task<List<UserResponse>> GetUserByIdsAsync(List<int> ids);
Task<List<UserResponse>> GetUserByIdsAsync(IdsRequest request);
}

View File

@@ -0,0 +1,6 @@
namespace Dlhis.Sys.Api.Request;
public class IdsRequest
{
public List<int> Ids { get; set; }
}