Commit 8fe5dd13 authored by 王源's avatar 王源 🎧

Merge branch '1.0' into 2.0

parents 548da3ea f244b3d0
...@@ -9,6 +9,7 @@ class CurlRequest ...@@ -9,6 +9,7 @@ class CurlRequest
protected static function init($url, $httpHeaders = []) protected static function init($url, $httpHeaders = [])
{ {
put_log($url, 'shopify_url.log');
$ch = curl_init(); $ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment