package com.njcn.msgpush.module.push.checker.impl;


import com.njcn.msgpush.module.push.checker.IChecker;
import com.njcn.msgpush.module.push.controller.admin.message.vo.MessageRecordReqVO;
import com.njcn.msgpush.module.push.dal.dataobject.message.MessageRecordDO;
import com.njcn.msgpush.module.push.service.ratelimit.RateLimitConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author caozehui
 * @data 2026-02-27
 * @description 接收者频率检查器
 */
@Component
public class RateLimitChecker implements IChecker {

    @Autowired
    private RateLimitConfigService rateLimitConfigService;

    @Override
    public void check(List<MessageRecordDO> messageRecordList) {
        rateLimitConfigService.check(messageRecordList);
    }
}
