api.js
1.1 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
import request from './request'
export const BASE_DATA_URL = 'fims.configuration.from.conftype'
// 客户管理
export function customerList(data) {
data.method = 'customermgr/getCustomerMgrList'
return request(data)
}
// 设备管理
export function deviceList(data) {
data.method = 'devicemgr/getDeviceMgrList'
return request(data)
}
// 获取客户名称下拉列表
export function userDropList(data) {
data.method = 'usermgr/getDropDownOptions'
return request(data)
}
// 获取客户名称、设备类型下拉列表
export function userDeviceDropList(data) {
data.method = 'devicemgr/getDropDownOptions'
return request(data)
}
// 用户管理
export function userList(data) {
data.method = 'usermgr/getUserMgrList'
return request(data)
}
// API列表
export function apiList(data) {
data.method = 'apimgr/getApiMgrList'
return request(data)
}
// API调用记录
export function apiRecordList(data) {
data.method = 'apicallmgr/getApiCallMgrList'
return request(data)
}
// APP营销
export function appMarketList(data) {
data.method = 'admgr/getAdMgrList'
return request(data)
}