Explorar o código

引入拓元算法配置yml

谭斌 hai 1 ano
pai
achega
4fd5f2ff78

+ 6 - 0
device-api-service/pom.xml

@@ -109,6 +109,12 @@
             <version>1.0</version>
             <scope>compile</scope>
         </dependency>
+        <dependency>
+            <groupId>com.xy</groupId>
+            <artifactId>xy-tyai</artifactId>
+            <version>1.0</version>
+            <scope>compile</scope>
+        </dependency>
         <dependency>
             <groupId>com.xy</groupId>
             <artifactId>xy-magic-api</artifactId>

+ 2 - 2
device-start/src/main/resources/bootstrap.yml

@@ -10,7 +10,7 @@ cloud:
   center:
     url: 119.96.213.127:9007
     config:
-      shared-configs: redis.yaml,mysql.yaml,xxl-job.yaml,algorithm.yaml,xy-oss.yaml,alipay.yaml,cloudwalk.yaml,magic-api.yaml,knife4j.yaml
+      shared-configs: redis.yaml,mysql.yaml,xxl-job.yaml,algorithm.yaml,xy-oss.yaml,alipay.yaml,cloudwalk.yaml,magic-api.yaml,knife4j.yaml,tyai.yaml
       name: device
   service:
     name: dev-device
@@ -21,4 +21,4 @@ cloud:
 
 # 文件生成路径
 file:
-  path: d://test//test
+  path: d://test//test