增加nacosServer业务

master
zzh 2024-08-04 20:58:42 +08:00
parent 4248952556
commit 4b2cd6894b
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,22 @@
package com.bwie.nacos.service;
import com.bwie.nacos.remote.NacosServiceRemote;
import com.bwie.nacos.remote.interceptor.NacosNamespaceInterceptor;
import com.dtflys.forest.springboot.annotation.ForestScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
/**
* @Authorzhangzhihao
* @nameNacosRemoteConfig
* @Date2024/8/4 20:44
*
*/
@Configuration
@ForestScan(basePackages = "com.bwie.nacos.remote")
@Import(value = {
NacosNamespaceInterceptor.class,
NacosServiceRemote.class
})
public class NacosRemoteConfig {
}

View File

@ -1,2 +1,3 @@
com.bwie.nacos.remote.interceptor.NacosNamespaceInterceptor
com.bwie.nacos.remote.service.NacosServeService
com.bwie.nacos.service.NacosRemoteConfig