package com.njcn.msgpush.module.push.service.ratelimit;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.njcn.msgpush.module.push.controller.admin.ratelimit.VO.RateLimitConfigReqVO;
import com.njcn.msgpush.module.push.dal.dataobject.message.MessageRecordDO;
import com.njcn.msgpush.module.push.dal.dataobject.ratelimit.RateLimitConfigDO;

import java.util.List;

/**
 * @author caozehui
 * @data 2026-03-13
 */
public interface RateLimitConfigService extends IService<RateLimitConfigDO> {
    Page<RateLimitConfigDO> getPage(RateLimitConfigReqVO reqVO);

    RateLimitConfigDO getByChannelAndAppName(String channel, String appName);


    void check(List<MessageRecordDO> messageRecordList);

}
