Browse Source

[华信科] 龙旗对接 配置修改

zxl 3 weeks ago
parent
commit
b6d32aadff

+ 1 - 1
src/main/java/com/uas/eis/task/LongcheerTask.java

@@ -36,7 +36,7 @@ public class LongcheerTask {
      * 每天凌晨 2:00 执行
      * 遍历所有账套,查询待推送的库存记录,调用龙旗库存同步接口
      */
-    //@Scheduled(cron = "0 0 2 * * ?")
+    @Scheduled(cron = "0 0 2 * * ?")
     public void pushInventoryTask() {
         log.info("[龙旗定时任务]库存同步开始=========start=============");
         Date startDate = new Date();

+ 15 - 15
src/main/resources/application-prod.yml

@@ -32,36 +32,36 @@ action:
 # 龙旗接口对接配置
 longcheer:
     inventory:
-        app-key: 4865982d
-        app-secret: cc0486b594134a679ff8a0d94144d685
-        url: https://srm-uat.longcheer.com:8019/els/supplierApi/invokeSrm/inventoryReceive
+        app-key: 32c1ec7a
+        app-secret: 092a27d9147f4b8796bd6fda19a6478e
+        url: https://gsrm.longcheer.com/els/supplierApi/invokeSrm/inventoryReceive
         # 按 master 区分的 app-key/app-secret
         credentials:
             LHWX_SZ_P:
-                app-key: 1f4cfda7
-                app-secret: b43523ab7eb94d9e824245f3a09d115d
+                app-key: 478584ac
+                app-secret: 6c23ae08f16745a4a3823ee058cedb5f
             LHWX_HK_P:
-                app-key: 4865982d
-                app-secret: cc0486b594134a679ff8a0d94144d685
+                app-key: 32c1ec7a
+                app-secret: 092a27d9147f4b8796bd6fda19a6478e
     po:
-        app-key: a23b0e49
-        app-secret: cce462b6026f49e8b49e66d27c76b785
+        app-key: 3cfb52d0
+        app-secret: b446566a6ada4b868230bf5beebdc50e
         url: https://srm-uat.longcheer.com:8019/api/v1/po/push
         # 按 elsAccount 区分的 app-key/app-secret
         credentials:
             3582452:
-                app-key: 219f6156
-                app-secret: 41333e82b88241b9a5a5e0c061856d6d
+                app-key: 0217ecc8
+                app-secret: 005db546234f42e9a851c7247b04e7ab
             3582700:
-                app-key: a23b0e49
-                app-secret: cce462b6026f49e8b49e66d27c76b785
+                app-key: 3cfb52d0
+                app-secret: b446566a6ada4b868230bf5beebdc50e
     timeout: 30000
     retry-times: 3
     retry-interval: 30000
     # ELS 账号 -> 账套标识 的映射(龙旗不传 master 时按 elsAccount 自动定位账套)
     account-mapping:
-        3582452: LHWX_SZ_TEST
-        3582700: LHWX_HK
+        3582452: LHWX_SZ_P
+        3582700: LHWX_HK_P
     # 账套标识 -> 供应商 ERP 编码 的映射(库存推送接口动态填 supplierErpCode)
     supplier-mapping:
         LHWX_SZ_P: 103362