QueryCoupon.js
945 Bytes
/**
* Created by yoho on 2016/6/20.
*/
module.exports = function (app) {
/*************************************优惠券查询--李建*************************************/
//列表页
app.get("/market/queryCoupon/index", "marketing.QueryCoupon.Index",function(){
this.$extend={
moduleName:'营销管理',
pageName:'优惠券查询'
}
});
//优惠券记录
app.post("/couponLogs/queryUserCouponLogsList", "QueryCoupon_queryUserCouponLogsList");
//延长优惠券有效期
app.post("/couponLogs/delayUserCoupon", "QueryCoupon_delayUserCoupon");
//手工退券
app.post("/couponLogs/cancelCouponUse", "QueryCoupon_cancelCouponUse");
//优惠券统一下载
app.post("/couponExport", "QueryCoupon_couponExport");
//判断需要下载的文件是否生成
app.post("/checkCouponExportFileIsExist", "QueryCoupon_checkCouponExportFileIsExist");
};