version.js
1.33 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
/**
* 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"}
]
}
}
}