最新回答 / 豬頭6
我的http_curl函數(shù)參數(shù)順序和老師的有點不一樣。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