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.
 
 
 
 
 
 

32 lines
631 B

const http = uni.$u.http;
// 查询设备告警数据
export function getAlertList (query) {
return http.request({
url: '/iot/alertLog/list',
method: 'get',
params: query
})
}
// 查询单个设备告警详情
export function getAlertLog (id) {
return http.get('/iot/alertLog/' + id);
}
// 修改单个设备告警详情
export function editAlertLog (data) {
return http.request({
url: '/iot/alertLog',
method: 'put',
data: data
})
}
// 查询微信小程序告警通知模板id
export function getAlertTemplateId() {
return http.request({
url: '/notify/template/getAlertWechatMini',
method: 'get',
})
}