From 5eb83797abed1a572ca59cb2972171b18e3d46b2 Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期三, 13 十一月 2024 15:04:52 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/asrs/task/kingdee/LoginAuthenticationScheduler.java |    3 ++-
 src/main/resources/application.yml                                       |    4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/main/java/com/zy/asrs/task/kingdee/LoginAuthenticationScheduler.java b/src/main/java/com/zy/asrs/task/kingdee/LoginAuthenticationScheduler.java
index 8b7be90..e82fdd4 100644
--- a/src/main/java/com/zy/asrs/task/kingdee/LoginAuthenticationScheduler.java
+++ b/src/main/java/com/zy/asrs/task/kingdee/LoginAuthenticationScheduler.java
@@ -4,6 +4,7 @@
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.beans.factory.annotation.Value;
+import org.springframework.scheduling.annotation.Scheduled;
 import org.springframework.stereotype.Component;
 
 @Slf4j
@@ -15,7 +16,7 @@
     @Value("${erp.switch.LoginAuthenticationSwitch}")
     private boolean LoginAuthenticationSwitch;
 
-    //@Scheduled(cron = "0/3 * * * * ? ")
+//    @Scheduled(cron = "0/3 * * * * ? ")
     void login(){
         if(!LoginAuthenticationSwitch){
             return;
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index a4f6c33..5ef1ed2 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -75,7 +75,7 @@
     PushDowmOrderSwitch: true
   #  鍦板潃
   address:
-    URL: http://lubemater.ik3cloud.com/k3cloud/html5/
+    URL: http://lubemater.ik3cloud.com/
     #鐧诲綍鍦板潃
     loginaddress: K3CLOUD/Kingdee.BOS.WebApi.ServicesStub.AuthService.ValidateUser.common.kdsvc
     #鍗曟嵁锛屽晢鍝佹。妗堝湴鍧�
@@ -95,4 +95,4 @@
     password: "a.222222"
     lcid: 2052
 #  淇濇寔true
-  enable: false
\ No newline at end of file
+  enable: true
\ No newline at end of file

--
Gitblit v1.9.1