package com.wecloud.dispatch.general.impl;

import com.wecloud.dispatch.ActionContext;
import com.wecloud.dispatch.common.ApplyInfo;
import com.wecloud.dispatch.extend.ActionInterceptor;
import com.wecloud.dispatch.extend.ActionRequest;
import com.wecloud.dispatch.extend.ArgumentBox;

/**
 * @author lixiaozhong
 */
public class GeneralActionInterceptor implements ActionInterceptor {

	@Override
	public ApplyInfo previous(ActionContext actionContext, ActionRequest request, ArgumentBox argumentBox) {
		ApplyInfo applyInfo = new ApplyInfo();
		applyInfo.setApprove(true);
		return applyInfo;
	}


}
