fix 单个人员同步方法修改

This commit is contained in:
2024-04-03 15:30:16 +08:00
parent 28a347e04a
commit 2e05e9645f

View File

@@ -20,7 +20,7 @@ public class HangfireService : IHangfireService
using var handler = await _redisCache.LockAsync(jobKey);
if (handler.Acquired)
{
BackgroundJob.Enqueue<IGainfoUpdateService>(x => x.TodoAsync(request.Code));
BackgroundJob.Enqueue<IGainfoUpdateService>(x => x.TodoByCodeAsync(request.Code));
}
}
}