From c69082e60f9b27dfd8c6cfa64af0b36ede1fade4 Mon Sep 17 00:00:00 2001 From: heyujie <516346543@qq.com> Date: 星期五, 05 十一月 2021 14:13:39 +0800 Subject: [PATCH] merge --- src/api/event.ts | 37 ++++++++++++++++++++++++++++++++++++- 1 files changed, 36 insertions(+), 1 deletions(-) diff --git a/src/api/event.ts b/src/api/event.ts index b4b5f77..d1b14fe 100644 --- a/src/api/event.ts +++ b/src/api/event.ts @@ -67,4 +67,39 @@ method: "post", data: qs.stringify(query) }); -}; \ No newline at end of file +}; + +//鑾峰彇浜嬩欢澹伴煶鍒楄〃 +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 + }) +} -- Gitblit v1.8.0