This commit is contained in:
柳文翔 2024-03-15 17:50:29 +08:00
parent b484a53711
commit 18f065fbf1

View File

@ -57,7 +57,7 @@ public class TrackPushCacheService : ApplicationService, ITrackPushCacheService,
[NonAction] [NonAction]
public async Task<TrackPushConfigDto> SetPushContentConfigsAsync(int? id = null, int? subSystemId = null, int? customId = null) public async Task<TrackPushConfigDto> SetPushContentConfigsAsync(int? id = null, int? subSystemId = null, int? customId = null)
{ {
var data = new TrackPushConfigDto { ContentConfigs = [] }; var data = new TrackPushConfigDto { ContentConfigs = new() };
Expression<Func<TrackPushConfigEntity, bool>> exp = x => true; Expression<Func<TrackPushConfigEntity, bool>> exp = x => true;
if (id.HasValue) exp = x => x.Id == id; if (id.HasValue) exp = x => x.Id == id;