normalAppSuggest.js
2.23 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
/**
* Created by ty on 2016/3/23.
* APP意见反馈管理
*/
exports.domain = require('../config/common.js').domain;
// exports.domain = "http://172.16.6.127:8088/platform";
exports.res = [
{
route:'/suggest/suggest/index1',
method: 'GET',
view: 'pages/operations/normalAppSuggest',
src: '/operations/normalAppSuggest'
},
{
route:'/suggest/getSuggestList',
method:'POST',
url:'/suggest/suggest/getSuggestList',
params:[
{name: 'page', type: 'number'},
{name: 'uid', type: 'string'},
{name: 'startTime', type: 'string'},
{name: 'endTime', type: 'string'},
{name: 'isHot', type: 'string'},
{name: 'status', type: 'string'},
{name: 'clientType', type: 'string'},
{name: 'appVersion', type: 'string'}
]
},
{
route:'/suggest/replySuggest',
method:'POST',
url:'/suggest/suggest/replySuggest',
params:[
{name: 'id', type: 'string'},
{name: 'replyContent', type: 'string'}
]
},
{
route:'/suggest/setHotSuggest',
method:'POST',
url:'/suggest/suggest/setHotSuggest',
params:[
{name: 'id', type: 'string'},
{name: 'isHot', type: 'number'}
]
},
{
route:'/suggest/publishSuggest',
method:'POST',
url:'/suggest/suggest/publishSuggest',
params:[
{name: 'id', type: 'string'}
]
},
{
route:'/suggest/deleteSuggest',
method:'POST',
url:'/suggest/suggest/deleteSuggest',
params:[
{name: 'id', type: 'string'}
]
},
{
route:'/suggest/getAllAppVersions',
method:'POST',
url:'/suggest/suggest/getAllAppVersions'
},
{
route:'/suggest/batchPublishSuggest',
method:'POST',
url:'/suggest/suggest/batchPublishSuggest',
params:[
{name: 'id', type: 'string'}
]
},
{
route:'/suggest/batchExportSuggest',
method:'POST',
url:'/suggest/suggest/batchExportSuggest',
params:[
{name: 'id', type: 'string'}
]
}
];