Commit b0c9b27c by liuyf

请求日志打印

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@32396 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent ec0f3624
...@@ -7,7 +7,8 @@ import com.glsx.common.constants.Constants; ...@@ -7,7 +7,8 @@ import com.glsx.common.constants.Constants;
import com.glsx.common.constants.ResultCodeEnum; import com.glsx.common.constants.ResultCodeEnum;
import com.glsx.common.feign.client.UserClient; import com.glsx.common.feign.client.UserClient;
import com.glsx.gps.utils.IpUtils; import com.glsx.gps.utils.IpUtils;
import lombok.extern.slf4j.Slf4j; import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.lang.Nullable; import org.springframework.lang.Nullable;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
...@@ -31,10 +32,11 @@ import java.util.Map; ...@@ -31,10 +32,11 @@ import java.util.Map;
* @Description TODO 登录校验拦截器 * @Description TODO 登录校验拦截器
* @date 2019年1月31日 下午5:51:25 * @date 2019年1月31日 下午5:51:25
*/ */
@Slf4j
@Component @Component
public class AuthInterceptor implements HandlerInterceptor { public class AuthInterceptor implements HandlerInterceptor {
private Logger log = LoggerFactory.getLogger(AuthInterceptor.class);
@Autowired @Autowired
private UserClient userClient; private UserClient userClient;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!