فهرست منبع

老版本,同步失败屏蔽

lizhen_gitee 6 ماه پیش
والد
کامیت
00cef361a6
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      application/api/controller/Index.php

+ 2 - 2
application/api/controller/Index.php

@@ -177,11 +177,11 @@ class Index extends Api
         $rt = httpRequest($url, 'POST', $content);
          file_put_contents('bofang.txt',$id.'_'.$rt.PHP_EOL, FILE_APPEND);
         if (!$rt) {
-            $this->error('同步失败');
+//            $this->error('同步失败');
         }
         $rt = json_decode($rt, true);
         if ($rt['code'] != 0) {
-            $this->error('同步失败');
+//            $this->error('同步失败');
         }
 
         $this->success('同步成功');