marketing.QueryCoupon.js 1.13 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},
                endTime: {type: Number}
            }
        },
        cancelCouponUse: {
            title: "手工退券",
            url: "/couponLogs/cancelCouponUse",
            params: {
                id: {type: Number}
            }
        }
    }
};