|
|
@ -16,12 +16,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
package com.alibaba.cloud.seata.web;
|
|
|
|
package com.alibaba.cloud.seata.web;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication;
|
|
|
|
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
|
|
|
|
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
|
|
|
|
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
|
|
|
|
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* @author xiaojing
|
|
|
|
* @author xiaojing
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
@ConditionalOnWebApplication
|
|
|
|
public class SeataHandlerInterceptorConfiguration implements WebMvcConfigurer {
|
|
|
|
public class SeataHandlerInterceptorConfiguration implements WebMvcConfigurer {
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|