package com.ruoyi.jarvis.wecom;

import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Component;
import com.ruoyi.jarvis.service.IPhoneForwardActivePush;

@Component
public class PhoneForwardActivePushImpl implements IPhoneForwardActivePush {

    @Resource
    private WxSendWeComPushClient wxSendWeComPushClient;

    @Override
    public boolean schedulePushChunks(String toUser, String wecomCallbackAgentId, List<String> chunks) {
        return wxSendWeComPushClient.pushAfterPassiveDelaySync(toUser, wecomCallbackAgentId, chunks);
    }
}
