Browse Source

亿道次元EIS 配置文件修改

xiaost 1 year ago
parent
commit
e6a81a91d3

+ 10 - 1
src/main/java/com/uas/eis/config/KingdeeConfig.java

@@ -10,9 +10,18 @@ import org.springframework.stereotype.Component;
  * @desc: 金蝶接口配置
  */
 @Component
-@ConfigurationProperties(prefix = "extral.kingdee")
+//@ConfigurationProperties(prefix = "extral.kingdee")
 @Data
 public class KingdeeConfig {
+    /**
+     * extral:
+     *     kingdee:
+     *         url: http://183.62.131.97:9880/k3cloud/
+     *         dbId: 614562cfb7a481
+     *         uid: admin1
+     *         pwd: 123456789
+     *         lang: 2052
+     */
     /**
      * WebApi地址
      * */

+ 2 - 10
src/main/resources/application.yml

@@ -13,8 +13,8 @@ spring:
     message:
         encoding: UTF-8
     redis:
-        host: 10.1.81.208
-        port: 26379
+        host: 127.0.0.1
+        port: 6379
 server:
     tomcat:
         uri_encoding: UTF-8
@@ -31,11 +31,3 @@ logging:
 action:
     api_action: /EIS/api
     public_actions: /EIS/logout,/EIS/hello1
-
-extral:
-    kingdee:
-        url: http://183.62.131.97:9880/k3cloud/
-        dbId: 614562cfb7a481
-        uid: admin1
-        pwd: 123456789
-        lang: 2052