|
@@ -165,7 +165,6 @@ class User extends Api
|
|
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
|
|
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
|
|
curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0);
|
|
curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0);
|
|
$str = curl_exec($ch); //执行访问,返回结果
|
|
$str = curl_exec($ch); //执行访问,返回结果
|
|
- echo $str;die;
|
|
|
|
curl_close($ch); //关闭curl,释放资源
|
|
curl_close($ch); //关闭curl,释放资源
|
|
dump($str);die;
|
|
dump($str);die;
|
|
$openid = json_decode($str, true);
|
|
$openid = json_decode($str, true);
|