feat():增加nacosService业务类

master
WeiRan 2024-08-09 09:38:47 +08:00
parent ff549fc258
commit c3b83e2d5b
2 changed files with 24 additions and 2 deletions

View File

@ -0,0 +1,23 @@
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;
/**
* @Authorweiran
* @Packagecom.muyu.common.nacos
* @Projectcloud-common-nacos-remote
* @nameNacosRemoteConfig
* @Date2024/8/9 9:29
*/
@Configuration
@ForestScan(basePackages = "com.muyu.cmmon.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