xushiting 4 年之前
父節點
當前提交
0029d8cb53
共有 2 個文件被更改,包括 6 次插入7 次删除
  1. 3 2
      index.html
  2. 3 5
      main.js

+ 3 - 2
index.html

@@ -23,9 +23,10 @@
 <script type="text/javascript">
     const ossPrefix = 'https://laser.4dkankan.com/data/';
     const ossPrefixDep = 'https://laser.4dkankan.com/public/';
-    //const sceneNum = '@replace';
-    const sceneNum = 't-vZkqRV8';
+    const sceneNum = '@replace';
+    //const sceneNum = 't-vZkqRV8';
     // const sceneNum = 't-iksBApb';
+	// const sceneNum = 't-HMGa5zn';
 </script>
 <script src="./bus/bus.js"></script>
 <script src="main.js"></script>

+ 3 - 5
main.js

@@ -89519,9 +89519,9 @@ and limitations under the License.
            this.saveAlignment().then((function() {
                t.AlignmentService.stateDirty = !1
 			    $.ajax({
-					url: `/indoor/${sceneNum}/api/repose`,
+					url: `/indoor/${sceneNum}/api/reposes`,
 					success: function(res) {
-						console.log('/api/repose',res)
+						console.log('/api/reposes',res)
 					}
 				});
            }
@@ -99108,8 +99108,6 @@ and limitations under the License.
                var t1 = t.clone().multiply(rot90Invert); 
                var e = t1.toArray();
                return [e[3], e[0], e[1], e[2]] 
-               
-                
            }
        }
        ,
@@ -191646,7 +191644,7 @@ and limitations under the License.
        return r(e, t),
        e.prototype.getTileUrl = function(t, e, n) {
            var i = (this.tiledMapEntity.filePath + "/" + this.tiledMapEntity.fileName).replace(/\$DEPTH/g, t.toString(10)).replace(/\$X/g, e.toString(10)).replace(/\$Y/g, n.toString(10));
-           i+='&t='+new Date().getTime();
+           i+='?t='+new Date().getTime();
            return this.RestService.addAuthorizationQueryParameter(i)
        }
        ,