- 获取壁纸分类
http://cdn.apc.360.cn/index.php?c=WallPaper&a=getAllCategoriesV2&from=360chrome
- 根据分类ID获取壁纸
- 获取最近更新壁纸
- 壁纸搜索接口
http://wallpaper.apc.360.cn/index.php?c=WallPaper&a=search&kw=${kw}&start=${start}&count=${count}
- 热门搜索
打包上线后,需要配置nginx代理 将网站目录设置为打包上传后的文件夹
location /360 {
rewrite ^.+360/?(.*)$ /$1 break;
include uwsgi_params;
proxy_pass http://cdn.apc.360.cn;
}
location /360hot {
rewrite ^.+360hot/?(.*)$ /$1 break;
include uwsgi_params;
proxy_pass http://openbox.mobilem.360.cn;
}
location /search {
rewrite ^.+search/?(.*)$ /$1 break;
include uwsgi_params;
proxy_pass http://wallpaper.apc.360.cn;
}