Sfoglia il codice sorgente

统计模块输出错误日志

walkor 11 anni fa
parent
commit
bbc2180e6b
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5 0
      applications/Demo/Lib/StatisticClient.php

+ 5 - 0
applications/Demo/Lib/StatisticClient.php

@@ -55,6 +55,11 @@ class StatisticClient
         
         $bin_data = StatisticProtocol::encode($module, $interface, $cost_time, $success, $code, $msg);
         
+        if(!$success)
+        {
+            echo $msg;
+        }
+        
         return self::sendData($report_address, $bin_data);
     }