ZZJ
2021-11-22 ff58b3c203ab46d41e447ea428138ba31e3362df
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import request from "@/scripts/httpRequest";
 
export const getHelemtData = (data: any) => {
    return request({
        url: "/temp/iotdata/devices",
        method: "post",
        data
    })
}
 
export const sendAudio = (id,data: any) => {
    return request({
        url: `/temp/iotdata/audio/?sn=${id}`,
        method: "post",
        data
    })
}
 
export const getBanner = () => {
    return request({
        url: `/temp/iotdata/banner-info`,
        method: "get",
    })
}