|
@@ -1,4 +1,4 @@
|
|
-package com.persagy.fm.server;
|
|
|
|
|
|
+package com.persagy;
|
|
|
|
|
|
import com.persagy.log.annotation.EnableControllerLog;
|
|
import com.persagy.log.annotation.EnableControllerLog;
|
|
import org.mybatis.spring.annotation.MapperScan;
|
|
import org.mybatis.spring.annotation.MapperScan;
|
|
@@ -9,7 +9,6 @@ import org.springframework.boot.autoconfigure.aop.AopAutoConfiguration;
|
|
import org.springframework.cache.annotation.EnableCaching;
|
|
import org.springframework.cache.annotation.EnableCaching;
|
|
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
|
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
|
import org.springframework.cloud.openfeign.EnableFeignClients;
|
|
import org.springframework.cloud.openfeign.EnableFeignClients;
|
|
-import org.springframework.context.annotation.ComponentScan;
|
|
|
|
import org.springframework.context.annotation.Configuration;
|
|
import org.springframework.context.annotation.Configuration;
|
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
|
|
|
|
|
@@ -26,7 +25,6 @@ import org.springframework.scheduling.annotation.EnableScheduling;
|
|
@Configuration
|
|
@Configuration
|
|
@EnableScheduling
|
|
@EnableScheduling
|
|
@SpringBootApplication(exclude = AopAutoConfiguration.class)
|
|
@SpringBootApplication(exclude = AopAutoConfiguration.class)
|
|
-@ComponentScan(basePackages = {"com.persagy.fm"})
|
|
|
|
@MapperScan(value = "com.persagy.fm.*.dao")
|
|
@MapperScan(value = "com.persagy.fm.*.dao")
|
|
public class ServerApplication {
|
|
public class ServerApplication {
|
|
|
|
|