package com.hotent.portal.job;

import org.quartz.JobExecutionContext;

import com.hotent.base.util.AppUtil;
import com.hotent.job.model.BaseJob;
import com.hotent.portal.persistence.manager.PortalWeixinMaterialManager;

/**
 * 拉起微信公众号素材操作
 * 添加定时任务类
 * com.hotent.portal.job.PullWeixinMaterialJob 
 * @author zhangxw
 *
 */
public class PullWeixinMaterialJob extends BaseJob {
	@Override
	public void executeJob(JobExecutionContext context) throws Exception {
		PortalWeixinMaterialManager weixinMaterialManager = AppUtil.getBean(PortalWeixinMaterialManager.class);
		weixinMaterialManager.pullWeixinMaterial();
	}
}
