소스 검색

优化提交到检测

liuhairui 2 년 전
부모
커밋
f37f73986a
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      application/admin/controller/Entrust.php

+ 2 - 2
application/admin/controller/Entrust.php

@@ -355,10 +355,10 @@ class Entrust extends Backend
         $gather = '';
         if (empty($gather_gcms) && empty($gather_gc)) {
             $this->error('没获取到检测数据');
-        }else if(empty($gather_gcms)){
+        }else if(empty($gather_gcms) && !empty($gather_gc)){
             $gather = $gather_gc;
             $gather_tab = 'gather_txt_check_gc';
-        }else if(empty($gather_gc)){
+        }else if(empty($gather_gc) && !empty($gather_gcms)){
             $gather = $gather_gcms;
             $gather_tab = 'gather_txt_check_gcms';
         }else{