浏览代码

修改接口请求地址

chuwu 5 年之前
父节点
当前提交
6b5b5b0e1d
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 })
 }