fix:(更改扫描配置)

master
lwj 2024-08-08 09:46:53 +08:00
parent e700ffc7e9
commit c653ddf102
1 changed files with 2 additions and 3 deletions

View File

@ -1,17 +1,16 @@
package com.muyu.common.nacos;
import com.dtflys.forest.springboot.annotation.ForestScan;
import com.muyu.common.nacos.remote.NacosServiceReomte;
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.bwie.nacos.remote")
@ForestScan(basePackages = "com.muyu.common.nacos.remote")
@Import(value = {
NacosNamespaceInterceptor.class,
NacosServerService.class,
NacosServerService.class
})
public class NacosRemoteConfig {
}