ziplist.js 634 Bytes
/**
 * Created by ty on 2016/7/5.
 * app图片包
 */

module.exports=function(app) {

    /*图片包首页*/
    app.get("/operations/icon/ziplist","operations.ziplist.Index", function () {
        this.$extend = {
            moduleName: "图片包管理",
            pageName: "图片包管理"
        }
    });
    
    /*列表*/
    app.post("/icon/getZipList","ziplist_getZipList");
    
    /*上传图片包*/
    app.post("/icon/addZip","ziplist_addZip");
    
    /*启用图片包*/
    app.post("/icon/publishZip","ziplist_publishZip");
    
    /*关闭图片包*/
    app.post("/icon/closeZip","ziplist_closeZip");
}