fix 单个人员同步方法修改
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user