entrance.js 2.05 KB
/**
 * Created by ty on 2016/6/21.
 * app入口管理
 */

module.exports={
    namespace:"entrance",
    apis:{
        selectEntranceList:{
            title: "入口列表",
            url:'/entrance/selectEntranceList',
            params: [
                {name: "platform", type:"string"},
                {name: "status", type:"string"},
                {name: "page", type:"number"},
                {name: "size", type: "number"}
            ]
        },
        insertEntrance:{
            title: "添加入口",
            url: '/entrance/insertEntrance',
            params: [
                {name: "entryName", type:"string"},
                {name: "clickBeforeImg", type:"string"},
                {name: "clickAfterImg", type:"string"},
                {name: "url", type:"string"},
                {name: "platform", type:"string"},
                {name: "orderBy", type:"string"},
                {name: "status", type:"string"},
                {name: "zipUrl", type:"string"},
                {name: "channelId", type:"string"},
                {name: "gender", type:"string"}
            ]
        },
        updateEntrance:{
            title: "修改入口",
            url: '/entrance/updateEntrance',
            params: [
                {name: "id", type:"number"},
                {name: "entryName", type:"string"},
                {name: "clickBeforeImg", type:"string"},
                {name: "clickAfterImg", type:"string"},
                {name: "url", type:"string"},
                {name: "platform", type:"string"},
                {name: "orderBy", type:"string"},
                {name: "status", type:"string"},
                {name: "zipUrl", type:"string"},
                {name: "channelId", type:"string"},
                {name: "gender", type:"string"}
            ]
        },
        publishEntrance:{
            title: "更改入口状态",
            url: '/entrance/publishEntrance',
            params: [
                {name: "id", type: "number"},
                {name: "status", type: "string"}
            ]
        }
    }
}