appEntranceIncon.js 1.78 KB

/**
 * Created by yoho on 2016/6/21.
 */
module.exports = {
    namespace: "appEntranceIcon",
    apis: {
        /************************************app入口及图标管理*************************************/
        queryList: {
            title: "列表数据",
            url: '/appEntranceIcon/queryList',
            params: {
                displayName: {type: String},
                status: {type: Number},
                categoryId: {type: Number},
                page: {type: Number},
                size: {type: Number}
            }
        },
        selectAppEntranceCategory:{
            title:'查询app入口图标分类',
            url: '/appEntranceIcon/selectAllCategory',
            params: [
                {name: 'categoryName', type: 'String'}
            ]
        },
        queryById: {
            title: "单条数据",
            url: '/appEntranceIcon/queryById',
            params: {
                id: {type: Number}
            }
        },
        update: {
            title: "编辑店铺优惠券",
            url: '/appEntranceIcon/updateById',
            params: {
                id: {type: Number},
                displayName: {type: String},
                status: {type: Number},
                iosSmallImage: {type: String},
                iosBigImage: {type: String},
                androidImage: {type: String},
                iosSmallImageN: {type: String},
                iosBigImageN: {type: String},
                androidImageN: {type: String},
                iosSmallImageFirst: {type: String},
                iosBigImageFirst: {type: String},
                androidImageFirst: {type: String},
            }
        },
        uploadZip:{
            title:"上传zip",
            url:"/appEntranceIcon/uploadIconZip"
        }

    }
};