智慧保安后台管理-外网
Administrator
2022-05-16 9869430984ab7bf8920cdb33dc77adcf03748f06
src/main/java/org/springblade/modules/system/controller/UserController.java
@@ -318,7 +318,8 @@
               //计数
               count++;
               //如果超过10s 没有读取到,则退出
               if (count == 30) {
               if (count == 60) {
                  System.out.println("等待超时.....................");
                  break;
               }
            }
@@ -1622,7 +1623,8 @@
      Result result = new Result();
      //调用ftp获取返回数据
      while (true){
         Thread.sleep(1000);
         System.out.println("用户新增开始接收消息......................");
         Thread.sleep(30000);
         //调用ftp获取返回数据
         result = Monitor.isFTPFileExist(uuid);
         //如果返回true,就退处
@@ -1642,7 +1644,7 @@
            //计数
            count++;
            //如果超过10s 没有读取到,则退出
            if (count == 30) {
            if (count == 10) {
               break;
            }
         }