马宇豪
2024-08-01 81e6577d11920a45284936f591bd8d076006a919
src/api/list.js
@@ -68,4 +68,21 @@
        url: '/attachment/delete/' + id,
        method: 'get'
    })
}
// 获取30天总体用量
export function getTotalStatistics(){
    return request({
        url: '/statistics/sms/countByTime',
        method: 'get'
    })
}
// 获取各地总体用量
export function getTotalStatisticsByArea(data){
    return request({
        url: '/statistics/sms/count',
        method: 'post',
        data: data
    })
}