手机端壁纸api

说明文档

图片一览

直接调用

访问./api即可,跳转至图片地址

访问./api/?id=数字,跳转至指定图片

注:api附加参数 api=数字 亦可跳转至指定图片

如: ./api/?type=json&id=3

访问 ./api/?type=length

返回图片总量,即id的最大值

访问 ./api/?type=output

服务器读取后输出,一般不建议使用,默认禁用

访问 ./api/?type=json

服务器输出json

         
{"code":"200","url":"https:\/\/fp1.fghrsh.net\/2019\/07\/15\/c2549aaa63db078834ead6a92fe63b61.jpg"}
    

访问 ./api/?type=JSON

服务器读取图片信息后输出json,如非需要图片信息不建议使用

         
{"code":"200","url":"https:\/\/fp1.fghrsh.net\/2019\/07\/15\/c2549aaa63db078834ead6a92fe63b61.jpg","width":"1920","height":"1080","mime":"image\/jpeg","size":"821735"}