WIN-2308041133\Administrator hai 5 meses
pai
achega
4a79df2af9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      extend/liuniu/WechatService.php

+ 1 - 1
extend/liuniu/WechatService.php

@@ -645,7 +645,7 @@ class WechatService
         curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
         curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true); // 生产环境建议验证SSL
         curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
-        @file_put_contents("quanju3.txt", $ch . "-访问接口\r\n", 8);
+        @file_put_contents("quanju3.txt", $url . "-访问接口\r\n", 8);
         $response = curl_exec($ch);
 //        if (curl_errno($ch)) {
 //            echo 'CURL Error: ' . curl_error($ch);