最新回答 / 豬頭6
我的http_curl函數(shù)參數(shù)順序和老師的有點(diǎn)不一樣。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
代碼敲完之后保存,控制器會(huì)自動(dòng)去執(zhí)行的,各位請(qǐng)去測(cè)試號(hào)里面看一下就好了,已經(jīng)發(fā)送成功了
2017-09-13