You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
876 B
40 lines
876 B
import {
|
|
request
|
|
} from "./request";
|
|
|
|
//分页查询运维人员列表
|
|
export function getCustomerPage(data) {
|
|
return request({
|
|
url: '/iot/v1/admin/customer/page',
|
|
method: 'post',
|
|
params: {
|
|
access_token: uni.getStorageSync("access_token")
|
|
},
|
|
data,
|
|
})
|
|
}
|
|
|
|
//查询单个运维人员详情
|
|
export function getCustomerOne(custid) {
|
|
return request({
|
|
url: '/iot/v1/admin/customer/one',
|
|
method: 'post',
|
|
params: {
|
|
access_token: uni.getStorageSync("access_token"),
|
|
custid
|
|
},
|
|
data: {}
|
|
})
|
|
}
|
|
|
|
//增加运维人员
|
|
export function addCustomer(data) {
|
|
return request({
|
|
url: '/iot/v1/admin/customer/insert',
|
|
method: 'post',
|
|
params: {
|
|
access_token: uni.getStorageSync("access_token")
|
|
},
|
|
data
|
|
})
|
|
} |