shopsVersionUpdate.js 1.52 KB
/**
 * Created by ty on 2016/6/3.
 */

exports.domain = require('../config/common.js').domain;

exports.res = [
    {
        route: "/operations/shopsVersionUpdate/index",
        method: "GET",
        view: "pages/operations/shopsVersionUpdate",
        src: "/operations/shopsVersionUpdate",
    },
    {
        route: "/AppVersionRest/getAppVersionList",
        method: "POST",
        url: "/AppVersionRest/getAppVersionList",
        params: [
            {name: "page", type: "number"},
            {name: "size", type: "number"},
            {name: "appVersion", type: "string"},
            {name: "clientType", type: "string"}
        ]
    },
    {
        //添加
        route: "/AppVersionRest/setAppVersion",
        method: "POST",
        url: "/AppVersionRest/setAppVersion",
        params: [
            {name: "appVersion", type: "string"},
            {name: "clientType", type: "string"},
            {name: "url", type: "string"},
            {name: "content", type: "string"},
            {name: "status", type: "string"}
        ]
    },
    {
        //删除
        route: "/AppVersionRest/delAppVersion",
        method: "POST",
        url: "/AppVersionRest/delAppVersion",
        params: [
            {name: "id", type: "number"}
        ]
    },
    {
        //修改状态
        route: "/AppVersionRest/editAppVersion",
        method: "POST",
        url: "/AppVersionRest/editAppVersion",
        params: [
            {name: "id", type: "number"},
            {name: "status", type: "string"}
        ]
    }
];