This commit is contained in:
柳文翔 2024-03-15 16:12:55 +08:00
parent eb1a3480f0
commit 06e43db12c

View File

@ -278,7 +278,11 @@ public class TrackPushService : ApplicationService
item.Sort = input.SortInfo.Single(x => x.Key == item.Id.ToString()).Value;
});
await _trackPushConfigRepository.UpdateContentRangeAsync(trackPushContentEntities);
if (trackPushContentEntities.Count > 0)
{
await _trackPushConfigRepository.UpdateContentRangeAsync(trackPushContentEntities);
await _trackPushCacheService.SetPushContentConfigsAsync(trackPushContentEntities[0].TrackPushConfigId);
}
return true;
}