You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
418 B
JavaScript
21 lines
418 B
JavaScript
2 years ago
|
import request from "../request";
|
||
|
//获取登录
|
||
|
export function getTreeApi(data) {
|
||
|
return request({
|
||
|
url: "/sensor/getTree",
|
||
|
method: "get",
|
||
|
data,
|
||
|
});
|
||
|
}
|
||
|
//获取装置总数图表
|
||
|
export function getDetailApi(data) {
|
||
|
return request({
|
||
|
url: "/sensor/detail",
|
||
|
method: "get",
|
||
|
params: data,
|
||
|
headers: {
|
||
|
"Content-Type": "application/x-www-form-urlencoded;charset=UTF-8",
|
||
|
},
|
||
|
});
|
||
|
}
|