|
@@ -1,5 +1,6 @@
|
|
package com.fdkankan.modeling;
|
|
package com.fdkankan.modeling;
|
|
|
|
|
|
|
|
+import org.mybatis.spring.annotation.MapperScan;
|
|
import org.springframework.boot.SpringApplication;
|
|
import org.springframework.boot.SpringApplication;
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
|
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
|
@@ -12,6 +13,7 @@ import org.springframework.scheduling.annotation.EnableScheduling;
|
|
@EnableDiscoveryClient
|
|
@EnableDiscoveryClient
|
|
@EnableFeignClients("com.fdkankan.*.api.feign")
|
|
@EnableFeignClients("com.fdkankan.*.api.feign")
|
|
@ComponentScan(basePackages = {"com.fdkankan.*"})
|
|
@ComponentScan(basePackages = {"com.fdkankan.*"})
|
|
|
|
+@MapperScan("com.fdkankan.**.mapper")
|
|
public class ModelingApplication {
|
|
public class ModelingApplication {
|
|
|
|
|
|
public static void main(String[] args) {
|
|
public static void main(String[] args) {
|