package cn.com.ctop.job.bytedance.handler;

import cn.com.ctop.oa.modules.service.IAppchatCreateService;
import com.xxl.job.core.handler.annotation.XxlJob;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class SendHourlyMessageJob {
    @Autowired
    private IAppchatCreateService appchatCreateService;

    /**
     *发送时报提醒任务
     **/
    @XxlJob("sendHourlyMessageJob")
    public void execute() {
        appchatCreateService.getChatInfo("wrSHhWEAAAhWApP92IL0nAuA9pQZ1W7w");
    }
}
