Skip to content

Commit

Permalink
Update gate.php
Browse files Browse the repository at this point in the history
gateio.io 修改成  gateio.co
  • Loading branch information
kefengxu authored Aug 27, 2019
1 parent ffc6dd9 commit 2b142b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/gate.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function gate_query($path, array $req = array()) {
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36');
}

curl_setopt($ch, CURLOPT_URL, 'http://api.gateio.io/api2/'.$path);
curl_setopt($ch, CURLOPT_URL, 'http://api.gateio.co/api2/'.$path);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data);
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt($ch, CURLOPT_HEADER, false);
Expand Down

0 comments on commit 2b142b5

Please sign in to comment.