hotsuggest.js 1.16 KB
/**
 * Created by ty on 2016/6/21.
 * 热门意见管理
 */

module.exports=function(app) {

    /*热门意见管理界面*/
    app.get("/suggest/hotsuggest/index","operations.hotsuggest.Index", function () {
        this.$extend = {
            moduleName: "反馈管理",
            pageName: "热门意见列表"
        }
    });

    /*获取热门意见列表*/
    app.post("/suggest/suggestHot/getSuggestHotList","hotsuggest_getSuggestHotList");

    /*新增热门意见*/
    app.post("/suggest/suggestHot/addSuggestHot","hotsuggest_addSuggestHot");

    /*修改热门意见*/
    app.post("/suggest/suggestHot/updateSuggestHot","hotsuggest_updateSuggestHot");

    /*删除/取消热门意见*/
    app.post("/suggest/suggestHot/deleteSuggestHot","hotsuggest_deleteSuggestHot");

    /*发布/撤回热门*/
    app.post("/suggest/suggestHot/publishSuggestHot","hotsuggest_publishSuggestHot");

    /*批量发布热门意见*/
    app.post("/suggest/suggestHot/batchPublishSuggestHot","hotsuggest_batchPublishSuggestHot");

    /*根据id查询热门意见---------暂未用到*/
    app.post("/suggest/suggestHot/getSuggestHotById","hotsuggest_getSuggestHotById");
}