话不多说直接上代码 <?php $str = file_get_contents('http://cn.bing.com/HPImageArchive.aspx?idx=0&n=1'); if (preg_match("/<url>(.+?)<\/url>/ies", $str, $matc…
接口地址:https://api.aaayun.cc/?type=Image&file=TooPenRand实现很简单,如需要源码,请留言
接口地址:https://api.aaayun.cc/?type=Image&file=QiHooRand&cid=26参数cid可变:游戏人物:5 美女模特:6 影视:7 风景:9 时尚:10明星:11 汽车:12 萌宠:14 小清新:15 体育:16儿童:18 壁纸:29 爱情:30 文字:35 4k图片:36军事:22其它参数自己试试吧
接口地址:https://api.aaayun.cc/?type=Image&file=BaiDuRand&class=美女&sub=写真参数sub可不填写 function image($class, $sub = '', $rand = 1000) { $i = rand(0, $rand); $url = "http://image…