operations.webshare.js 1.7 KB
/**
 * Created by ty on 2016/7/6.
 * 活动分享管理
 */

module.exports = {
    namespace: "webshare",
    apis: {
        getWebShareList: {
            title: "活动分享列表",
            url: "/webShare/getWebShareList",
            params: [
                {name: "id", type: "number"},
                {name: "status", type: "string"},
                {name: "title", type: "string"},
                {name: "page", type: "number"},
                {name: "size", type: "number", default: 20}
            ]
        },
        addWebShare: {
            title: "新增活动分享",
            url: "/webShare/addWebShare",
            params: [
                {name: "title", type: "string"},
                {name: "shareTitleMain", type: "string"},
                {name: "shareTitleSub", type: "string"},
                {name: "shareImage", type: "string"},
                {name: "shareUrl", type: "string"},
                {name: "status", type: "string"}
            ]
        },
        updateWebShare: {
            title: "更新活动分享",
            url: "/webShare/updateWebShare",
            params: [
                {name: "id", type: "number"},
                {name: "title", type: "string"},
                {name: "shareTitleMain", type: "string"},
                {name: "shareTitleSub", type: "string"},
                {name: "shareImage", type: "string"},
                {name: "shareUrl", type: "string"},
                {name: "status", type: "string"}
            ]
        },
        selectWebShare: {
            title: "根据id查询数据",
            url: "/webShare/selectWebShare",
            params: [
                {name: "id", type: "number"}
            ]
        }
    }
}