From a3f357e8a60443b74b64c7479113c68eb35ce1f5 Mon Sep 17 00:00:00 2001
From: ZZJ <10913410+zzj2100@user.noreply.gitee.com>
Date: 星期五, 15 七月 2022 19:44:57 +0800
Subject: [PATCH] 控制轮询

---
 src/api/event.ts |   20 +++++++++++++++++++-
 1 files changed, 19 insertions(+), 1 deletions(-)

diff --git a/src/api/event.ts b/src/api/event.ts
index 58db9b5..d1b14fe 100644
--- a/src/api/event.ts
+++ b/src/api/event.ts
@@ -78,10 +78,28 @@
   })
 }
 
+
+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'
   })
-}
\ No newline at end of file
+}
+
+export const deleteSound = (q:any) => {
+  return request({
+    url: "/data/api-v/voice/del",
+    method: "get",
+    params:q
+  })
+}

--
Gitblit v1.8.0