package com.fdkanfang.web.backend;

import com.fdkanfang.web.shiro.JWTUtil;
import org.springframework.beans.factory.annotation.Autowired;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * Created by owen on 2020/2/20 0020 15:20
 */
public class BaseController {

    @Autowired
    protected HttpServletRequest request;

    protected String getToken(){
        return request.getHeader("Authorization");
    }


}
