|
@@ -3,7 +3,7 @@ import { CompanyModel, OutherWeather, SpaceModel } from '@/model/userModel'
|
|
|
import { https, post } from '@/utils/https'
|
|
|
import { ContentType, Method, RequestParams } from 'axios-mapper'
|
|
|
import { setQueryConfig } from '@/utils'
|
|
|
-import { duoduoenvService, objectService, setupService, testApi, weachatService } from '@/config'
|
|
|
+import { customService, duoduoenvService, objectService, setupService, testApi, weachatService } from '@/config'
|
|
|
|
|
|
// const comInfo = getUserInfo()
|
|
|
// const comParams: string = ""
|
|
@@ -287,4 +287,9 @@ export const saveMapPointInfo = (data: any) => {
|
|
|
}
|
|
|
|
|
|
|
|
|
+// 获取空间下的可控制的设备
|
|
|
+export const getSpaceEquipList = (params: any) => {
|
|
|
+ return https().request<any>(`${customService}equipmentRun/queryEquipmentRunConfig?${params}`, Method.GET, undefined, ContentType.json)
|
|
|
+}
|
|
|
+
|
|
|
|