ShopCoupon.js 1.09 KB
module.exports = function (app) {
    /***********************************品牌优惠券*************************************/
        //列表页
    app.get("/shopCoupons/index", "marketing.ShopCoupon.Index", function () {
        this.$extend = {
            moduleName: '营销管理',
            pageName: '店铺优惠券'
        }
    });

    //列表数据
    app.post("/shopCoupon/queryList", "ShopCoupon_queryList");

    //新增
    app.post("/shopCoupon/add", "ShopCoupon_add");

    //编辑
    app.post("/shopCoupon/update", "ShopCoupon_update");

    //单个
    app.post("/shopCoupon/queryById", "ShopCoupon_queryById");

    //查询列表
    app.post("/couponShopInfo/queryList", "CouponShopInfo_queryList");

    //新增
    app.post("/couponShopInfo/add", "CouponShopInfo_add");

    //删除
    app.post("/couponShopInfo/delete", "CouponShopInfo_delete");

    //列表页
    app.get("/couponShopInfo/index", "marketing.ShopCoupon.CouponShopInfo", function () {
        this.$extend = {
            moduleName: '优惠券',
            pageName: '关联店铺列表'
        }
    });

}