shopsVersionUpdate.js
1.52 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
55
56
57
/**
* 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"}
]
}
];