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