Browse Source

【睿智鼎eis】【appid、appkey修改】

wub 3 years ago
parent
commit
3ad8dc4274

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

@@ -38,7 +38,7 @@ public class SyncProductStockTask {
         while(rs2.next()) {
             String V_HOUR = rs2.getGeneralString("v_hour");
             String V_MI = rs2.getGeneralString("v_mi");
-            if (("08".equals(V_HOUR) || "20".equals(V_HOUR) )
+            if (("08".equals(V_HOUR) || "20".equals(V_HOUR) || "15".equals(V_HOUR) || "16".equals(V_HOUR))
                     //&& ("00".equals(V_MI) || "04".equals(V_MI) )
             ) {
                 X5JsonHttpClient x5JsonHttpClient = new X5JsonHttpClient(configuration.getX5appid(), configuration.getX5appkey(), configuration.getX5ProductStockUrl());

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

@@ -2,7 +2,7 @@ spring:
     datasource:
         type: org.apache.tomcat.jdbc.pool.DataSource
         driverClassName: oracle.jdbc.OracleDriver
-        username: BSD_HK
+        username: RZ_T
         password: select!#%*(
         url: jdbc:oracle:thin:@127.0.0.1:1521:orcl
         #url: jdbc:oracle:thin:@127.0.0.1:1521:orcl
@@ -19,7 +19,7 @@ server:
         uri_encoding: UTF-8
     context-path:
         /EIS
-    port: 8083
+    port: 8084
 Task:
     SyncProductsMethod: syncProducts
     SyncProductsCron: 0 0/1 * * * ?
@@ -49,26 +49,26 @@ fs:
     encodingAesKey: YmFhZjE4YmQ5MmQ2NDE0MTg1MmJlNjZjYzJmMmQ0ZjM
     authorize.url: https://open.fxiaoke.com/oauth2/authorize
     openUserId: FSUID_EEB3F8D8C2186EB4AFFB5D97F1AA4FCD
-    x5username: RFCMESUPSTAR
-    x5password: yBv8q!rs
-    x5appid: xm_oem_9022
-    x5appkey: BA84A5A8332D44989FF3A4EE7927E30B
-    x5ProductStockUrl: https://mipop.p.mi.com/HttpAdapter/HttpMessageServlet?interfaceNamespace=http://xiaomi.com/oem/dummy&interface=SI_MI_OEM_IF123_VENDOR_STOCK_S_OUT&senderService=UPSTAR_TECH_PRD&qos=BE
-    x5ProductWIPUrl: https://mipop.p.mi.com/HttpAdapter/HttpMessageServlet?interfaceNamespace=http://xiaomi.com/oem/dummy&interface=SI_MI_OEM_IF122_VENDOR_WIP_S_OUT&senderService=UPSTAR_TECH_PRD&qos=BE
-    x5vendercode: 100122
+    x5username: RFCMESSMRTEN
+    x5password: mGj9Qu$n
+    x5appid: xm_oem_9034
+    x5appkey: f7124a074afb4291916ed66ab11b6836
+    x5ProductStockUrl: https://mipoq.p.mi.com/HttpAdapter/HttpMessageServlet?interfaceNamespace=http://xiaomi.com/oem/dummy&interface=SI_MI_OEM_IF123_VENDOR_STOCK_S_OUT&senderService=SMARTEN_TEC_QAS&qos=BE
+    x5ProductWIPUrl: https://mipoq.p.mi.com/HttpAdapter/HttpMessageServlet?interfaceNamespace=http://xiaomi.com/oem/dummy&interface=SI_MI_OEM_IF122_VENDOR_WIP_S_OUT&senderService=SMARTEN_TEC_QAS&qos=BE
+    x5vendercode: 100264
 #    以下为测试环境
-#    x5username: RFCMESUPSTAR
-#    x5password: dhH9$qFr
-#    x5appid: xm_oem_9022
-#    x5appkey: f0a1d3b00b914db9bd23b5850932dd39
-#    x5ProductStockUrl: https://mipoq.p.mi.com/HttpAdapter/HttpMessageServlet?interfaceNamespace=http://xiaomi.com/oem/dummy&interface=SI_MI_OEM_IF123_VENDOR_STOCK_S_OUT&senderService=UPSTAR_TECH_QAS&qos=BE
-#    x5ProductWIPUrl: https://mipoq.p.mi.com/HttpAdapter/HttpMessageServlet?interfaceNamespace=http://xiaomi.com/oem/dummy&interface=SI_MI_OEM_IF122_VENDOR_WIP_S_OUT&senderService=UPSTAR_TECH_QAS&qos=BE
-#    x5vendercode: 100122
+#    x5username: RFCMESSMRTEN
+#    x5password: mGj9Qu$n
+#    x5appid: xm_oem_9034
+#    x5appkey: f7124a074afb4291916ed66ab11b6836
+#    x5ProductStockUrl: https://mipoq.p.mi.com/HttpAdapter/HttpMessageServlet?interfaceNamespace=http://xiaomi.com/oem/dummy&interface=SI_MI_OEM_IF123_VENDOR_STOCK_S_OUT&senderService=SMARTEN_TEC_QAS&qos=BE
+#    x5ProductWIPUrl: https://mipoq.p.mi.com/HttpAdapter/HttpMessageServlet?interfaceNamespace=http://xiaomi.com/oem/dummy&interface=SI_MI_OEM_IF122_VENDOR_WIP_S_OUT&senderService=SMARTEN_TEC_QAS&qos=BE
+#    x5vendercode: 100264
 #    以下为正式环境
-#  x5username: RFCMESUPSTAR
+#  x5username: RFCMESSMRTEN
 #  x5password: yBv8q!rs
-#  x5appid: xm_oem_9022
-#  x5appkey: BA84A5A8332D44989FF3A4EE7927E30B
+#  x5appid: xm_oem_9034
+#  x5appkey: 16CD438099624E0684FFF6E86D0A8BBB
 #  x5ProductStockUrl: https://mipop.p.mi.com/HttpAdapter/HttpMessageServlet?interfaceNamespace=http://xiaomi.com/oem/dummy&interface=SI_MI_OEM_IF123_VENDOR_STOCK_S_OUT&senderService=UPSTAR_TECH_PRD&qos=BE
 #  x5ProductWIPUrl: https://mipop.p.mi.com/HttpAdapter/HttpMessageServlet?interfaceNamespace=http://xiaomi.com/oem/dummy&interface=SI_MI_OEM_IF122_VENDOR_WIP_S_OUT&senderService=UPSTAR_TECH_PRD&qos=BE
-#  x5vendercode: 100122
+#  x5vendercode: 100264