最贊回答 / 唐人叔叔_兜兜里有糖
問(wèn)題已解決:對(duì)curl_http不熟悉。curl_setopt($ch, CURLOPT_URL, $url);curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);?if ($type == 'post'){?? ??? ??? ?curl_setopt($ch, CURLOPT_POST, 1);?? ??? ??? ?curl_setopt($ch, CURLOPT_POSTFIELDS, $postArr);?}這段代碼只能這樣寫(xiě) 就對(duì)了。
2017-07-17
最新回答 / 慕前端2352855
檢查下代碼哪里寫(xiě)錯(cuò)了。像我在model里寫(xiě)成?class IndexModel extends Model就報(bào)錯(cuò)了
2017-06-01