zhangzengfei
2022-07-20 4a800a8fc83c6bd1f86a8e847b079a51a7532c09
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
  })
}