versionManage.js
1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/**
* Created by ty on 2016/3/22.
* 版本管理
*/
//exports.domain = require('../config/common.js').domain;
exports.domain = "http://172.16.6.127:8088/platform";
exports.res = [
{
route:'/operations/version/index123213',
method: 'GET',
view: 'pages/operations/versionManage',
src: '/operations/versionManage'
},
{//APP版本升级提醒列表
route: '/operations/version/appVersionList',
method: 'POST',
url: '/version/appVersionList',
params: []
},
{//新增APP版本提醒
route: '/operations/version/addAppVersion',
method: 'POST',
url: '/version/addAppVersion',
params: [
{name: "version", type: "string"},
{name: "clientType", type: "string"},
{name: "content", type: "string"},
{name: "url", type: "string"}
]
},
{//修改APP版本提醒
route: '/operations/version/editAppVersion',
method: 'POST',
url: '/version/editAppVersion',
params: [
{name: "id", type: "number"},
{name: "version", type: "string"},
{name: "clientType", type: "string"},
{name: "content", type: "string"},
{name: "url", type: "string"}
]
},
{//改变状态
route: '/operations/version/publishAppVersion',
method: 'POST',
url: '/version/publishAppVersion',
params: [
{name: "id", type: "number"},
{name: "status", type: "number"}
]
}
];