icon.js 802 Bytes
/**
 * Created by ty on 2016/7/5.
 * app图标管理
 */

module.exports=function(app) {

    /*图标管理首页*/
    app.get("/operations/icon/index","operations.icon.Index", function () {
        this.$extend = {
            moduleName: "图标管理",
            pageName: "图标管理"
        }
    });
    
    /*列表*/
    app.post("/icon/getList","icon_getList");
    
    /*添加图标*/
    app.post("/icon/addIcon","icon_addIcon");
    
    /*根据ID获取图标信息*/
    app.post("/icon/getOneIcon","icon_getOneIcon");
    
    /*更新图标信息*/
    app.post("/icon/updateIcon","icon_updateIcon");
    
    /*开启图标入口*/
    app.post("/icon/publishIcon","icon_publishIcon");
    
    /*关闭图标信息入口*/
    app.post("/icon/closeIcon","icon_closeIcon");
}