heyujie
2021-10-11 ae2d855c89ca722ac7309fdf1aa6ceed370e3b95
src/api/event.ts
@@ -67,4 +67,39 @@
    method: "post",
    data: qs.stringify(query)
  });
};
};
//获取事件声音列表
export const getSoundList = () => {
  return request({
    url: "/data/api-v/voice/findAll",
    method: "get"
  })
}
export const uploadSound = (data: any) => {
  return request({
    url: "/data/api-v/voice/upload",
    method: "post",
    data
  })
}
//获取所有的推送字段配置
export const getPushSet = ()=>{
  return request({
    url:'/data/api-v/eventPush/getPushSet',
    method:'get'
  })
}
export const deleteSound = (q:any) => {
  return request({
    url: "/data/api-v/voice/del",
    method: "get",
    params:q
  })
}