version.js 1.33 KB
/**
 * Created by ty on 2016/6/23.
 * APP版本更新管理
 */

module.exports={
    namespace:"version",
    apis:{
        appVersionList:{
            title: "APP版本升级提醒列表",
            url: '/version/appVersionList',
            params: [
                {name: "page", type: "number"}
            ]
        },
        addAppVersion:{
            title: "新增APP版本提醒",
            url: '/version/addAppVersion',
            params: [
                {name: "version", type: "string"},
                {name: "clientType", type: "string"},
                {name: "content", type: "string"},
                {name: "url", type: "string"}
            ]
        },
        editAppVersion:{
            title: "修改APP版本提醒",
            url: '/version/editAppVersion',
            params: [
                {name: "id", type: "number"},
                {name: "version", type: "string"},
                {name: "clientType", type: "string"},
                {name: "content", type: "string"},
                {name: "url", type: "string"}
            ]
        },
        publishAppVersion:{
            title: "改变状态",
            url: '/version/publishAppVersion',
            params: [
                {name: "id", type: "number"},
                {name: "status", type: "number"}
            ]
        }
    }
}