package com.xxfc.platform.tour.common;

import com.github.wxiaoqi.security.auth.client.config.UserAuthConfig;
import com.github.wxiaoqi.security.common.biz.BaseBiz;
//import com.xxfc.platform.vehicle.feign.UserFeign;
//import com.xxfc.platform.vehicle.feign.dto.AppUserDTO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;

import javax.servlet.http.HttpServletRequest;

@Slf4j
public class TourBaseController<Biz extends BaseBiz> {

//    @Autowired
//    protected HttpServletRequest request;
//
//    @Autowired
//    protected UserFeign userFeign;
//    @Autowired
//    protected UserAuthConfig userAuthConfig;
//
//    public AppUserDTO getUserInfo(){
//        return  userFeign.userDetailByToken(userAuthConfig.getToken(request)).getData();
//    }

}
