From d8c730b184f9d982744e35cb720f20b9e44890f6 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期三, 12 十月 2022 17:14:54 +0800 Subject: [PATCH] 完善区域修改后的提示信息.关联场景的区域不可以删除 --- src/api/event.ts | 28 +++++++++++++++++++++++++++- 1 files changed, 27 insertions(+), 1 deletions(-) diff --git a/src/api/event.ts b/src/api/event.ts index 48e30cf..d1b14fe 100644 --- a/src/api/event.ts +++ b/src/api/event.ts @@ -76,4 +76,30 @@ method: "get" }) -} \ No newline at end of file +} + + +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