feat():更改namespace

master
86191 2024-08-06 14:56:22 +08:00
parent b626f18866
commit 3049a6ef17
1 changed files with 1 additions and 2 deletions

View File

@ -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
} }
} }