Git Product home page Git Product logo

wallpaper-360's Introduction

360壁纸站

演示站点

界面展示

360壁纸API

  1. 获取壁纸分类

http://cdn.apc.360.cn/index.php?c=WallPaper&a=getAllCategoriesV2&from=360chrome

  1. 根据分类ID获取壁纸

http://wallpaper.apc.360.cn/index.php?c=WallPaper&a=getAppsByCategory&cid=${分类ID}&start=${从第几张图开始}&count=${每次加载的数量}&from=360chrome

  1. 获取最近更新壁纸

http://wallpaper.apc.360.cn/index.php?c=WallPaper&a=getAppsByOrder&order=create_time&start=${从第几张图开始}&count=${每次加载的数量}&from=360chrome

  1. 壁纸搜索接口

http://wallpaper.apc.360.cn/index.php?c=WallPaper&a=search&kw=${kw}&start=${start}&count=${count}

  1. 热门搜索

http://openbox.mobilem.360.cn/html/api/wallpaperhot.html

Nginx代理

打包上线后,需要配置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;
    }

wallpaper-360's People

Contributors

byterk avatar ztyangt avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.