Selaa lähdekoodia

```
feat(national-motion-system): 更新生产环境微信小程序配置并调整定时任务时间将生产环境中的微信小程序 appId 和 appSecret 配置更新为新值,并启用新的定时任务表达式以在每天23 点执行门禁记录同步任务。
```

SheepHy 8 tuntia sitten
vanhempi
commit
434d856c43

+ 1 - 1
national-motion-module-system/national-motion-system-biz/src/main/java/org/jeecg/modules/quartz/job/OrTeachingJobService.java

@@ -237,7 +237,7 @@ public class OrTeachingJobService {
      * @return
      **/
 //    @Scheduled(fixedDelay = 300000)
-//    @Scheduled(fixedDelay = 30000)
+    @Scheduled(cron = "0 0 23 * * ?")
     public void synchronousDoorOpeningAndClosingRecords(){
         try {
             List<DoorRecordDTO> allRecords = fetchAllDoorRecords();

+ 15 - 15
national-motion-module-system/national-motion-system-start/src/main/resources/application-prod.yml

@@ -333,24 +333,24 @@ justauth:
     prefix: 'demo::'
     timeout: 1h
 # 微信相关
-#wx:
-#  # 微信小程序
-#  miniapp:
-#    configs:
-#      - appid: wx6260718c6fd46efb
-#        secret: 353c9d6d84347de7af9a7788a00a725e
-#        token: #微信小程序消息服务器配置的token
-#        aesKey: #微信小程序消息服务器配置的EncodingAESKey
-#        msgDataFormat: JSON
 wx:
   # 微信小程序
   miniapp:
     configs:
-      - appid: wxc032a09413289004
-        secret: 453c5047ae43288f1d015d48df32a5c0
+      - appid: wx6260718c6fd46efb
+        secret: 353c9d6d84347de7af9a7788a00a725e
         token: #微信小程序消息服务器配置的token
         aesKey: #微信小程序消息服务器配置的EncodingAESKey
         msgDataFormat: JSON
+#wx:
+#  # 微信小程序
+#  miniapp:
+#    configs:
+#      - appid: wxc032a09413289004
+#        secret: 453c5047ae43288f1d015d48df32a5c0
+#        token: #微信小程序消息服务器配置的token
+#        aesKey: #微信小程序消息服务器配置的EncodingAESKey
+#        msgDataFormat: JSON
   # 微信支付配置
   pay:
     #服务商微信支付商户号
@@ -382,10 +382,10 @@ baidu:
 # 微信小程序配置
 wechat:
   miniprogram:
-    appid: wxc032a09413289004
-    #    appid: wx6260718c6fd46efb
-    appsecret: 453c5047ae43288f1d015d48df32a5c0
-    #    appsecret: 353c9d6d84347de7af9a7788a00a725e
+#    appid: wxc032a09413289004
+    appid: wx6260718c6fd46efb
+#    appsecret: 453c5047ae43288f1d015d48df32a5c0
+    appsecret: 353c9d6d84347de7af9a7788a00a725e
     token:
       cache:
         enabled: true