marketing.QueryCoupon.js 1.65 KB
/**
 * Created by yoho on 2016/6/21.
 */
module.exports = {
    namespace: "QueryCoupon",
    apis: {
        /************************************优惠券查询管理*************************************/
        queryUserCouponLogsList: {
            title: "券记录列表",
            url: "/couponLogs/queryUserCouponLogsList",
            params: {
                page: {type: Number},
                size: {type: Number},
                couponId: {type: Number},
                couponCode: {type: String},
                couponName: {type: String},
                orderCode: {type: Number},
                uid: {type: Number},
                status: {type: Number}
            }
        },
        delayUserCoupon: {
            title: "延长优惠券有效期",
            url: "/couponLogs/delayUserCoupon",
            params: {
                id: {type: Number},
                uid:{type: Number},
                endTime: {type: Number}
            }
        },
        cancelCouponUse: {
            title: "手工退券",
            url: "/couponLogs/cancelCouponUse",
            params: {
                id: {type: Number},
                uid:{type: Number}
            }
        },
        couponExport: {
            title: "优惠券下载",
            url: "/couponExport",
            params:{
                type:{type: String},
                queryConf:{type: String}
                }
        },
        checkCouponExportFileIsExist: {
            title: "判断需要下载的文件是否生成",
            url: "/checkCouponExportFileIsExist",
            params:{
                queryConf:{type: String}
            }
        }
    }
};