baseinfoApi.js
1.18 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
/**
* 新增参数sign 判断接口是否需要sign签名
*/
/**
* 用法 : this.$apis.demo.GETLISTDEVICEFILEUNSTOCK(...)
* @param {*} params
* @returns
*/
import { http } from '@/main'
//商户
export function getMerchantTree(params = {}) {
params.method = 'org.ore.api.common.findMerchantTreeByMerchantNo.list'
return http({
data: params,
method: 'POST',
})
}
//部门
export function getDepartment(params = {}) {
params.method = 'cn.com.glsx.entmicro.department.listDepartmentTree'
return http({
data: params,
method: 'POST',
})
}
//关联企微
export function toGL(params = {}) {
params.method = 'org.ore.api.common.relevanceEntmicro.list'
return http({
data: params,
})
}
// cn.com.glsx.merchants.merchant.findMerchantBaseInfo
// 查询商户基本信息
export function merchantInfo(params = {}) {
params.method = 'org.ore.api.common.findMerchantInfoByMerchantNo.list'
return http({
data: params,
})
}
// const GETLISTDEVICEFILEUNSTOCK1 = params => {
// return http({
// url: '/router',
// method: 'POST',
// data: params,
// sign: true
// })
// }
export default {
// getMerchantTree,
// GETLISTDEVICEFILEUNSTOCK1
}