video.index.js 1.17 KB
/**
 * Created by zw on 2016/11/3.
 * 视频管理
 */

module.exports = {
    namespace: "video",
    apis: {
        
        /************************************产品视频管理*************************************/
        queryVideosList: {
            title: "视频列表",
            url: "/videos/queryVideosList",
            params: {
                page: {type: Number},
                size: {type: Number},
                skn:{type: String},    
                videoName: {type: String}             
            }
        },
        editVideo: {
            title: "添加视频",
            url: "/videos/editVideo",
            params: {
                id: {type: Number},
                videoName: {type: String},
                skn: {type: String},
                url:{type: String},    
                fileName: {type: String},            
                videoSize:{type: String},    
                note:{type: String}           
            }
        },
        delVideo: {
            title: "删除视频",
            url: "/videos/batchDeleteVideo",
            params: {
                id: {type: Number}                
            }
        }
    }
};