增加nacosServer业务
parent
4248952556
commit
4b2cd6894b
|
@ -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;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Author:zhangzhihao
|
||||||
|
* @name:NacosRemoteConfig
|
||||||
|
* @Date:2024/8/4 20:44
|
||||||
|
* 不准抄代码,添加注释,清楚每一行代码意思
|
||||||
|
*/
|
||||||
|
@Configuration
|
||||||
|
@ForestScan(basePackages = "com.bwie.nacos.remote")
|
||||||
|
@Import(value = {
|
||||||
|
NacosNamespaceInterceptor.class,
|
||||||
|
NacosServiceRemote.class
|
||||||
|
})
|
||||||
|
public class NacosRemoteConfig {
|
||||||
|
}
|
|
@ -1,2 +1,3 @@
|
||||||
com.bwie.nacos.remote.interceptor.NacosNamespaceInterceptor
|
com.bwie.nacos.remote.interceptor.NacosNamespaceInterceptor
|
||||||
com.bwie.nacos.remote.service.NacosServeService
|
com.bwie.nacos.remote.service.NacosServeService
|
||||||
|
com.bwie.nacos.service.NacosRemoteConfig
|
||||||
|
|
Loading…
Reference in New Issue