Przeglądaj źródła

采集器文章来源验证修改

15313670163 4 miesięcy temu
rodzic
commit
d43e37ae90
2 zmienionych plików z 2363 dodań i 1 usunięć
  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){

Plik diff jest za duży
+ 2362 - 0
runtime/logs/hyperf.log


Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików