Browse Source

修改接口请求地址

chuwu 5 years ago
parent
commit
6b5b5b0e1d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/api/scan/request.js

+ 1 - 1
src/api/scan/request.js

@@ -443,7 +443,7 @@ export function getSpaceFloor(param) {
 //创建业务空间
 export function createBusiness(param) {
     let data = param.data
-    return fetch({ method: "POST", url: `${business}/space/create?projectId=${param.ProjId}&secret=${param.secret}`, data })
+    return fetch({ method: "POST", url: `${physics}/space/create?projectId=${param.ProjId}&secret=${param.secret}`, data })
         // return fetch({ method: "POST", url: `/test/space/create?projectId=${param.ProjId}&secret=${param.secret}`, data })
 }