using SJZY.Track.Application.Contract.Dtos.ProvideServices;
namespace SJZY.Track.Application.Contract.Services;
public interface ITrackPushCacheService
{
///
/// 获取服务商拉取配置
///
/// 子系统id
/// 服务商id
///
Task> GetPushContentConfigsAsync(int subSystemId, int customId);
///
/// 获取服务商拉取配置
///
/// 子系统id
/// 服务商id
///
///
Task GetPushContentConfigAsync(int subSystemId, int customId, int trackContentId);
///
/// 根据轨迹代码推断下一个(升序)要推送的内容,如果找不到或者已经是最后一个了,返回null
///
///
///
///
///
Task InferNextPushContentOrNullAsync(int subSystemId, int customId,
int? trackContentId);
///
/// 设置推送配置缓存
///
///
/// 子系统id
/// 客户id
///
Task SetPushContentConfigsAsync(int? id = null, int? subSystemId = null, int? customId = null);
}