Ver Fonte

bean名称错误修复

xiwa há 2 anos atrás
pai
commit
3c7b5a1082

+ 0 - 5
iot-components/iot-component-server/pom.xml

@@ -18,11 +18,6 @@
             <artifactId>spring-boot-starter-web</artifactId>
         </dependency>
 
-        <dependency>
-            <groupId>org.springframework.boot</groupId>
-            <artifactId>spring-boot-starter-data-elasticsearch</artifactId>
-        </dependency>
-
         <dependency>
             <groupId>org.springframework</groupId>
             <artifactId>spring-context</artifactId>

+ 1 - 1
iot-data/iot-data-cache/src/main/java/cc/iotkit/data/service/ProductDataCache.java

@@ -13,7 +13,7 @@ import org.springframework.stereotype.Service;
 import java.util.List;
 
 @Service
-@Qualifier("deviceInfoDataCache")
+@Qualifier("productDataCache")
 public class ProductDataCache implements IProductData {
 
     @Autowired