guanqb
2023-01-09 ecc1f3b4ca5e9d29376f8cc128280f519a8b6cd8
src/api/home/index.js
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2022-12-27 14:19:19
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2023-01-07 15:29:58
 * @LastEditTime: 2023-01-09 16:23:03
 * @FilePath: \srs-police-affairs\src\api\home\index.js
 * @Description: 
 * 
@@ -45,15 +45,12 @@
}
// 获取接警历史记录
export const getAlarmList = (type, time) => {
export const getAlarmList = (params) => {
    return request({
        url: `/api/alarm/alarm/page`,
        method: 'get',
        params: {
            current: 1,
            size: 100,
            type,
            time
            ...params
        }
    })
}