最新回答 / 北城慕容雪
我的http_curl函数参数顺序和老师的有点不一样。protected function http_curl($url, $arr = '', $type = 'get', $res = 'json') { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); if ($type == 'post...
2017-10-05