Parcourir la source

修改接口请求地址

chuwu il y a 5 ans
Parent
commit
6b5b5b0e1d
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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 })
 }