marketing.ShopCoupon.js
1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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: '关联店铺列表'
}
});
}