|
|
exports.domain = require('../config/common.js').domain;
|
|
|
//exports.domain = require('../config/common.js').domain;
|
|
|
//exports.domain = 'http://172.16.6.240:8088/platform';
|
|
|
//exports.domain = 'http://172.16.6.162:8088/platform';
|
|
|
//exports.domain = 'http://172.16.6.108:8088/platform';//谭玲
|
|
|
//exports.domain = 'http://172.16.6.201:8088/platform';//谭玲
|
|
|
exports.domain = 'http://172.16.6.250:2081/platform';
|
|
|
|
|
|
//营销管理路由配置
|
|
|
exports.res = [
|
...
|
...
|
@@ -596,4 +597,86 @@ exports.res = [ |
|
|
name: 'status',
|
|
|
type: 'Number'
|
|
|
}]
|
|
|
}] |
|
|
\ No newline at end of file |
|
|
},
|
|
|
/***********************************************************/
|
|
|
{
|
|
|
//发券管理列表页渲染
|
|
|
route: "/market/couponSend/index",
|
|
|
method: "GET",
|
|
|
view: "pages/market/couponSend",
|
|
|
src: "/market/couponSend"
|
|
|
},
|
|
|
{
|
|
|
//发券管理列表
|
|
|
route: "/coupon/querySendCouponList",
|
|
|
method: "POST",
|
|
|
url: "/coupon/querySendCouponList",
|
|
|
params: [
|
|
|
{name: "couponType", type: "number"},
|
|
|
{name: "couponId", type: "number"},
|
|
|
{name: "couponName", type: "string"},
|
|
|
{name: "department", type: "number"},
|
|
|
{name: "page", type: "number"},
|
|
|
{name: "size", type: "number"},
|
|
|
{name: "startTimeStr", type: "number"},
|
|
|
{name: "endTimeStr", type: "number"}
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
//发券页渲染
|
|
|
route: "/market/couponSend/send/:param",
|
|
|
method: "GET",
|
|
|
view: "pages/market/sendCoupon",
|
|
|
src: "/market/sendCoupon"
|
|
|
},
|
|
|
{
|
|
|
//查询文件发券列表
|
|
|
route: "/couponSendInfo/getListByCouponId",
|
|
|
method: "POST",
|
|
|
url: "/couponSendInfo/getListByCouponId",
|
|
|
params: [
|
|
|
{name: "couponId", type: "number"}
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
//手工发券
|
|
|
route: "/coupon/sendCoupon",
|
|
|
method: "POST",
|
|
|
url: "/coupon/sendCoupon",
|
|
|
params: [
|
|
|
{name: "couponId", type: "number"},
|
|
|
{name: "uids", type: "string"}
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
//文件上传重发
|
|
|
route: "/couponSendInfo/sendAgainById",
|
|
|
method: "POST",
|
|
|
url: "/couponSendInfo/sendAgainById",
|
|
|
params: [
|
|
|
{name: "id", type: "number"}
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
//发放记录页面渲染
|
|
|
route: "/market/couponSend/sendHistory/:param",
|
|
|
method: "GET",
|
|
|
view: "pages/market/sendHistory",
|
|
|
src: "/market/sendHistory"
|
|
|
},
|
|
|
{
|
|
|
//查询用户券列表
|
|
|
route: "/couponLogs/queryUserCouponLogsList",
|
|
|
method: "GET",
|
|
|
url: "/couponLogs/queryUserCouponLogsList",
|
|
|
params: [
|
|
|
{name: "page", type: "number"},
|
|
|
{name: "size", type: "number"},
|
|
|
{name: "couponId", type: "number"},
|
|
|
{name: "couponCode", type: "string"},
|
|
|
{name: "couponName", type: "string"},
|
|
|
{name: "couponId", type: "number"},
|
|
|
{name: "orderCode", type: "number"}
|
|
|
]
|
|
|
}
|
|
|
] |
|
|
\ No newline at end of file |
...
|
...
|
|