瀏覽代碼

remove response log

stanley-king 4 年之前
父節點
當前提交
31099912d6
共有 2 個文件被更改,包括 9 次插入1 次删除
  1. 1 1
      helper/fcgi_server.php
  2. 8 0
      test/TestRefill.php

+ 1 - 1
helper/fcgi_server.php

@@ -173,7 +173,7 @@ class fcgi_server
             $contents = ob_get_clean();
             fcgi_echo($contents);
             Log::end_sql_log();
-            Log::record("content={$contents}",Log::DEBUG);
+//            Log::record("content={$contents}",Log::DEBUG);
 
             //fcgi_finish();//单线程的情况下不需要调用
             $msg = sprintf("request time=%.6f\r\n\r\n",microtime(true) - $start);

+ 8 - 0
test/TestRefill.php

@@ -45,6 +45,14 @@ class TestRefill extends TestCase
         $providers = refill\RefillFactory::instance();
     }
 
+    public function testBJBAddPhone()
+    {
+        global $config;
+        $providers = new refill\bjb\RefillPhone([]);
+        $resp = $providers->add(15120035568,4,50,['order_sn' => '350662047177951290']);
+
+    }
+
     public function testRefillPhone()
     {
         global $config;