fix 获取档案失败自动发起同步任务
This commit is contained in:
17
Src/Dlhis.Scheduled.Api/IHangfireApi.cs
Normal file
17
Src/Dlhis.Scheduled.Api/IHangfireApi.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using Dlhis.Scheduled.Api.Request;
|
||||
using Kurisu.Core.Result;
|
||||
using Kurisu.RemoteCall.Attributes;
|
||||
|
||||
namespace Dlhis.Scheduled.Api;
|
||||
|
||||
[EnableRemoteClient(Name = "hangfire-service", BaseUrl = "${InternalRequest:ScheduledRequestUrl}")]
|
||||
public interface IHangfireApi
|
||||
{
|
||||
/// <summary>
|
||||
/// 同步人员
|
||||
/// </summary>
|
||||
/// <param name="request"></param>
|
||||
/// <returns></returns>
|
||||
[Post("api/hangfire/sap/person/no")]
|
||||
Task<DefaultApiResult> SyncSapPersonAsync(SapNoRequest request);
|
||||
}
|
||||
Reference in New Issue
Block a user