23 lines
651 B
C#
23 lines
651 B
C#
using Dlhis.Scheduled.Api.Request;
|
|
using Kurisu.RemoteCall.Attributes;
|
|
using Kurisu.RemoteCall.Default;
|
|
|
|
namespace Dlhis.Scheduled.Api;
|
|
|
|
[RequestLog]
|
|
[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);
|
|
|
|
|
|
|
|
[Post("api/hangfire/sap/face")]
|
|
Task<DefaultApiResult> SyncFaceToSapAsync(FaceUploadToSapRequest request);
|
|
} |