# 更新api名称
This commit is contained in:
parent
6121f74334
commit
53c83abfbf
|
@ -21,7 +21,7 @@ export function fetchDeviceLogs(query) {
|
||||||
// device logs history api
|
// device logs history api
|
||||||
export function fetchDeviceLogsHistory(query) {
|
export function fetchDeviceLogsHistory(query) {
|
||||||
return request({
|
return request({
|
||||||
url: '/api/counter/device/logs/history/',
|
url: '/api/counter/device/daily/',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: query
|
params: query
|
||||||
})
|
})
|
||||||
|
@ -30,7 +30,7 @@ export function fetchDeviceLogsHistory(query) {
|
||||||
// device info statistic api
|
// device info statistic api
|
||||||
export function fetchDeviceInfoStatistic(query) {
|
export function fetchDeviceInfoStatistic(query) {
|
||||||
return request({
|
return request({
|
||||||
url: '/api/counter/device/statistic/',
|
url: '/api/counter/device/status/',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: query
|
params: query
|
||||||
})
|
})
|
||||||
|
@ -39,7 +39,7 @@ export function fetchDeviceInfoStatistic(query) {
|
||||||
// device log statistic api
|
// device log statistic api
|
||||||
export function fetchDeviceLogStatistic(query) {
|
export function fetchDeviceLogStatistic(query) {
|
||||||
return request({
|
return request({
|
||||||
url: '/api/counter/logs/statistic/',
|
url: '/api/counter/latest/statistic/',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: query
|
params: query
|
||||||
})
|
})
|
||||||
|
@ -48,7 +48,7 @@ export function fetchDeviceLogStatistic(query) {
|
||||||
// log statistic history api
|
// log statistic history api
|
||||||
export function fetchLogStatisticHistory(query) {
|
export function fetchLogStatisticHistory(query) {
|
||||||
return request({
|
return request({
|
||||||
url: '/api/counter/logs/statistic/history/',
|
url: '/api/counter/latest/daily/',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: query
|
params: query
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue