exchangeCoupon.js 655 Bytes
/**
 * Created by ty on 2016/6/23.
 * 发券管理
 */

module.exports=function(app) {

    /*发券管理主页*/
    app.get("/exchangeCouponManager/queryList","operations.exchangeCoupon.Index", function () {
        this.$extend = {
            moduleName: "运营管理",
            pageName: "兑券管理"
        }
    });

    /*发券列表*/
    app.post("/exchangeCouponManager/query/list","exchangeCoupon_queryList");

    /*添加*/
    app.post("/exchangeCouponManager/add","exchangeCoupon_add");
    app.post("/exchangeCouponManager/update","exchangeCoupon_update");
    app.post("/exchangeCouponManager/delete","exchangeCoupon_delete");
}