fin:()更新注入方式

master
Yueng 2024-08-09 23:44:16 +08:00
parent 1bb99a9c19
commit 22eda64811
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.NacosServiceService;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
/**
* @Authoryang
* @Packagecom.muyu.common.nacos
* @Projectcloud-common-nacos-remote
* @nameNacosRemoteConfig
* @Date2024/8/9 23:37
*/
@Configuration
@ForestScan(basePackages = "com.muyu.common.nacos.remote")
@Import(value = {
NacosNamespaceInterceptor.class,
NacosServiceService.class
})
public class NacosRemoteConfig {
}

View File

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