operations.generateLinks.js 711 Bytes
/**
 * Created by ty on 2016/6/23.
 * 生成多个链接
 */

module.exports={
    namespace:"generateLinks",
    apis:{
        generate:{
            title: "生成多个链接",
            url: '/link/generate',
            params: [
                {name: "channelId", type: "number"},
                {name: "linkType", type: "string"},
                {name: "content", type: "string"}
            ]
        },
        single:{
            title: "生成单个链接",
            url: '/link/single',
            params: [
                {name: "action", type: "string"},
                {name: "linkType", type: "string"},
                {name: "link", type: "string"}
            ]
        }
    }
}