From fa7044f3ccc9a91bc2bc117d1a06f650d86554f2 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@iotlink.com> Date: 星期二, 15 六月 2021 16:07:16 +0800 Subject: [PATCH] 优化联动规则加载场景列表的操作 --- src/api/event.ts | 19 ++++++++++++++++++- 1 files changed, 18 insertions(+), 1 deletions(-) diff --git a/src/api/event.ts b/src/api/event.ts index b4b5f77..58db9b5 100644 --- a/src/api/event.ts +++ b/src/api/event.ts @@ -67,4 +67,21 @@ 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 getPushSet = ()=>{ + return request({ + url:'/data/api-v/eventPush/getPushSet', + method:'get' + }) +} \ No newline at end of file -- Gitblit v1.8.0