operations.ziplist.js 969 Bytes
/**
 * Created by ty on 2016/7/5.
 * app图片包
 */

module.exports={
    namespace:"ziplist",
    apis:{
        getZipList:{
            title: "加载图片包列表",
            url: '/icon/getZipList',
            params: [
                {name: 'platform', type: 'string'},
                {name: 'status', type: 'Number'}
            ]
        },
        addZip:{
            title: "上传图片包",
            url: '/icon/addZip',
            params: [
                {name: 'zip', type: 'string'},
                {name: 'platform', type: 'string'}
            ]
        },
        publishZip:{
            title: "启用图片包",
            url: '/icon/publishZip',
            params: [
                {name: 'id', type: 'number'}
            ]
        },
        closeZip:{
            title: "关闭图片包",
            url: '/icon/closeZip',
            params: [
                {name: 'id', type: 'number'}
            ]
        }
    }
}