fix():修复了NacosServiceRemote和NacosServiceService这个奇怪的名字

master
LQS 2024-08-08 18:17:50 +08:00
parent dccb654d6d
commit cf3f8b2ff6
2 changed files with 19 additions and 2 deletions

View File

@ -0,0 +1,18 @@
package com.muyu.common.nacos;
import com.dtflys.forest.springboot.annotation.ForestScan;
import com.muyu.common.nacos.remote.interceptor.NacosNamespaceInterceptor;
import com.muyu.common.nacos.service.NacosServerService;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
@Configuration
@ForestScan(basePackages = "com.muyu.common.nacos.remote")
@Import(
value = {
NacosNamespaceInterceptor.class,
NacosServerService.class
}
)
public class NacosRemoteConfig {
}

View File

@ -1,2 +1 @@
com.muyu.common.nacos.remote.interceptor.NacosNamespaceInterceptor
com.muyu.common.nacos.service.NacosServerService
com.muyu.common.nacos.NacosRemoteConfig