瀏覽代碼

采集器文章来源验证修改

15313670163 4 月之前
父節點
當前提交
d43e37ae90
共有 2 個文件被更改,包括 2363 次插入1 次删除
  1. 1 1
      app/JsonRpc/CollectorService.php
  2. 2362 0
      runtime/logs/hyperf.log

+ 1 - 1
app/JsonRpc/CollectorService.php

@@ -194,7 +194,7 @@ class CollectorService implements CollectorServiceInterface
                         // var_dump("============3============");       
                         break;              
                 }
-                if(isset($data['source']) && $data['type'] != 3){
+                if(!empty($data['source']) && $data['type'] != 3){
                     $rule ['source'] = $data['source'];
                 }
                 if(isset($data['writer_class']) && $data['type'] != 3){

文件差異過大導致無法顯示
+ 2362 - 0
runtime/logs/hyperf.log


部分文件因文件數量過多而無法顯示