package cn.com.qmth.stmms.open.interceptor;

import cn.com.qmth.stmms.biz.user.service.UserService;
import cn.com.qmth.stmms.common.interceptor.SessionInterceptor;
import org.springframework.beans.factory.annotation.Autowired;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 第三方模块操作拦截器
 *
 * @author XKJ
 */
public class OpenInterceptor extends SessionInterceptor {

    @Autowired
    private UserService userService;

    @Override
    public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) {
        return true;
        //return redirect(request, response, "/open/error");
    }

}
