|
@@ -74,7 +74,7 @@ export const changeSetTimeHttp = (params: any) => {
|
|
|
}
|
|
|
// 详情页面的图表数据
|
|
|
export const getChartListHTTP = (params: any) => {
|
|
|
- return https().request<RootObject<any>>(`/test1/spaceAdjust/queryPropertyData?${params}`, Method.GET, undefined, ContentType.json)
|
|
|
+ return https().request<RootObject<any>>(`${duoduoenvService}/spaceAdjust/queryPropertyData?${params}`, Method.GET, undefined, ContentType.json)
|
|
|
}
|
|
|
|
|
|
// 查询建筑的信息
|
|
@@ -185,28 +185,28 @@ export const saveBatchCustomScene = (data: any) => {
|
|
|
* 查询默认位置
|
|
|
*/
|
|
|
export const getDefaultLocation = (params: any) => {
|
|
|
- return https().request<any>(`${testApi}padSpace/getDefaultLocation?${params}`, Method.GET, undefined, ContentType.json)
|
|
|
+ return https().request<any>(`${setupService}padSpace/getDefaultLocation?${params}`, Method.GET, undefined, ContentType.json)
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 查询空间列表
|
|
|
*/
|
|
|
export const getPadSpaceList = (params: any) => {
|
|
|
- return https().request<any>(`${testApi}padSpace/getPadSpaceList?${params}`, Method.GET, undefined, ContentType.json)
|
|
|
+ return https().request<any>(`${setupService}padSpace/getPadSpaceList?${params}`, Method.GET, undefined, ContentType.json)
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 设置成办公空间
|
|
|
*/
|
|
|
export const saveWorkSpace = (params: any) => {
|
|
|
- return https().request<any>(`${testApi}padSpace/saveWorkSpace`, Method.POST, params, ContentType.json)
|
|
|
+ return https().request<any>(`${setupService}padSpace/saveWorkSpace`, Method.POST, params, ContentType.json)
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 查询平板下面的办公空间
|
|
|
*/
|
|
|
export const queryWorkSpace = (params: any) => {
|
|
|
- return https().request<any>(`${testApi}padSpace/queryWorkSpace`, Method.POST, params, ContentType.json)
|
|
|
+ return https().request<any>(`${setupService}padSpace/queryWorkSpace`, Method.POST, params, ContentType.json)
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -221,7 +221,7 @@ export const queryCustomerservice = (params: any) => {
|
|
|
* 获取二维码状态
|
|
|
*/
|
|
|
export const getPadQrCodeStatus = (params: any) => {
|
|
|
- return https().request<any>(`${testApi}padLogin/getPadQrCodeStatus?${params}`, Method.GET, undefined, ContentType.json)
|
|
|
+ return https().request<any>(`${setupService}padLogin/getPadQrCodeStatus?${params}`, Method.GET, undefined, ContentType.json)
|
|
|
}
|
|
|
|
|
|
|