marketing.EventConfig.js 1.11 KB
/**
 * Created by zhaojun on 17/3/15.
 */
module.exports = {
    namespace: "EventConfig",
    apis: {
        queryEventConfig: {
            title: "配置列表",
            url: "/eventConfig/queryList",
            params: {
                page: {type: Number},
                size: {type: Number},
                eventCode: {type: String},
                eventValue: {type: String},
                status: {type: Number}
            }
        },
        getEventConfigById:{
            title: "配置详情",
            url: "/eventConfig/queryById",
            params: {
                id: {type: Number}
            }
        },
        updateEventConfig: {
            title: "配置修改",
            url: "/eventConfig/update",
            params: {
                id: {type: Number},
                eventCode: {type: String},
                eventValue: {type: String},
                msgTitle:{type: String},
                msgContent:{type: String},
                status: {type: Number},
                isRepeat: {type: Number},
                clientLimit: {type: String}
            }
        }
    }
};