自动化立体仓库 - WMS系统
#
zjj
2024-11-13 5eb83797abed1a572ca59cb2972171b18e3d46b2
#
2个文件已修改
7 ■■■■■ 已修改文件
src/main/java/com/zy/asrs/task/kingdee/LoginAuthenticationScheduler.java 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/application.yml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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;
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
  enable: true