소스 검색

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;