feat():更改namespace
parent
b626f18866
commit
3049a6ef17
|
@ -10,7 +10,7 @@ import org.springframework.beans.factory.annotation.Value;
|
||||||
@Slf4j
|
@Slf4j
|
||||||
public class NacosNamespaceInterceptor<T> implements Interceptor<T> {
|
public class NacosNamespaceInterceptor<T> implements Interceptor<T> {
|
||||||
|
|
||||||
@Value("${nacos.namespaceId}")
|
@Value("${nacos.namespace}")
|
||||||
private String namespaceId;
|
private String namespaceId;
|
||||||
|
|
||||||
|
|
||||||
|
@ -32,7 +32,6 @@ public class NacosNamespaceInterceptor<T> implements Interceptor<T> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return true; // 继续执行请求返回true
|
return true; // 继续执行请求返回true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue