|
@@ -1,12 +1,13 @@
|
|
1
|
package com.chinaitop;
|
1
|
package com.chinaitop;
|
|
2
|
|
2
|
|
|
|
|
3
|
+import org.apache.shardingsphere.spring.boot.ShardingSphereAutoConfiguration;
|
|
3
|
import org.mybatis.spring.annotation.MapperScan;
|
4
|
import org.mybatis.spring.annotation.MapperScan;
|
|
4
|
import org.springframework.boot.SpringApplication;
|
5
|
import org.springframework.boot.SpringApplication;
|
|
5
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
6
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
6
|
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
|
7
|
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
|
|
7
|
|
8
|
|
|
8
|
@EnableEurekaClient
|
9
|
@EnableEurekaClient
|
|
9
|
-@SpringBootApplication
|
|
|
|
|
|
10
|
+@SpringBootApplication(exclude = ShardingSphereAutoConfiguration.class)
|
|
10
|
@MapperScan(basePackages = {"com.chinaitop.depot.*.mapper"})
|
11
|
@MapperScan(basePackages = {"com.chinaitop.depot.*.mapper"})
|
|
11
|
public class DepotBasicApplication {
|
12
|
public class DepotBasicApplication {
|
|
12
|
|
13
|
|