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.
19 lines
322 B
19 lines
322 B
![]()
3 years ago
|
import axios from 'axios';
|
||
|
|
||
|
export const tree = (deviceId) => {
|
||
|
return axios({
|
||
|
url: `/api/device/query/${deviceId}/tree`,
|
||
|
method: 'get'
|
||
|
})
|
||
|
}
|
||
|
|
||
|
export const deviceList = (page, count) => {
|
||
|
return axios({
|
||
|
method: 'get',
|
||
|
url:`/api/device/query/devices`,
|
||
|
params: {
|
||
|
page,
|
||
|
count
|
||
|
}
|
||
|
})
|
||
|
}
|