Browse Source

修改为线上地址

zhaojing 1 year ago
parent
commit
e7ca1987a1
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/api/home.js

+ 4 - 4
src/api/home.js

@@ -15,9 +15,9 @@ export function getCompanyMapData(companyId) {
 //查询受控列表
 export function queryControlSpaceCompany(params) {
   return $http({
-    url: `/controlSpaceUser/getControlSpaceCompany`,
+    url: `/duoduo-service/setup-service/controlSpaceUser/getControlSpaceCompany`,
     method: 'POST',
-    serverSp: 'http://192.168.4.29:52015',
+    // serverSp: 'http://192.168.4.29:52015',
     data: JSON.stringify(params),
   });
 }
@@ -25,9 +25,9 @@ export function queryControlSpaceCompany(params) {
 //常驻空间快速调节卡片
 export function querySpaceFunctionCard(params) {
   return $http({
-    url: `/controlSpaceUser/queryPermanentSpaceFunctionCard?userId=${params.userId}&companyId=${params.companyId}`,
+    url: `/duoduo-service/setup-service/controlSpaceUser/queryPermanentSpaceFunctionCard?userId=${params.userId}&companyId=${params.companyId}`,
     method: 'GET',
-    serverSp: 'http://192.168.4.29:52015',
+   // serverSp: 'http://192.168.4.29:52015',
   });
 }
 //常驻空间参数属性