摘要: public function request($url,$https=true,$method='get',$data=null){ //1.初始化url $ch = curl_init($url); //2.设置相关的参数 //字符串不直接输出,进行一个变量的存储 curl_setopt($ch, CUR... 阅读全文
posted @ 2018-07-11 16:04 猖狂的小山猪 阅读(99) 评论(0) 推荐(0) 编辑