From 9bd43b2ee238ca80f5fa1a01285fe4ed10a88d72 Mon Sep 17 00:00:00 2001 From: sunzhenyu Date: Thu, 17 Oct 2019 18:56:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A8=A1=E5=9E=8B=E8=B7=AF?= =?UTF-8?q?=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/jlmap3d/main/loaders/AssetLoader.js | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/src/jlmap3d/main/loaders/AssetLoader.js b/src/jlmap3d/main/loaders/AssetLoader.js index 5266735f5..b3786ee74 100644 --- a/src/jlmap3d/main/loaders/AssetLoader.js +++ b/src/jlmap3d/main/loaders/AssetLoader.js @@ -9,7 +9,7 @@ let defaultsignal = { deviceType:"signal", type:"low", picUrl:"", - assetUrl:"../../static/model/signal/d3d.FBX" + assetUrl:"https://test.joylink.club/oss/models/signal/d3d.FBX" } let defaulttrain = { @@ -18,7 +18,7 @@ let defaulttrain = { deviceType:"train", type:"num4", picUrl:"", - assetUrl:"../../static/model/train/train.FBX" + assetUrl:"https://test.joylink.club/oss/models/train/train.FBX" } @@ -28,8 +28,10 @@ let defaultstation = { deviceType:"stand", type:"num4", picUrl:"", - assetUrl:"../../static/model/station/fuzhou.FBX" -}//https://joylink.club/oss/models/station/fuzhou/fuzhou.FBX + assetUrl:"https://test.joylink.club/oss/models/station/fuzhou/fuzhou.FBX" +} +//https://test.joylink.club/oss/models/station/fuzhou/fuzhou.FBX +//https://joylink.club/oss/models/station/fuzhou/fuzhou.FBX //../../static/model/station/zhantai715(2).FBX let defaultswitch = { @@ -38,7 +40,7 @@ let defaultswitch = { deviceType:"switch", type:"fuzhou", picUrl:"", - assetUrl:"../../static/model/daocha/daocha.FBX" + assetUrl:"https://test.joylink.club/oss/models/daocha/daocha.FBX" } let defaultdriver = { @@ -56,7 +58,7 @@ let defaultsuidao = { deviceType:"suidao", type:"suidao", picUrl:"", - assetUrl:"../../static/model/suidao/suidao.FBX" + assetUrl:"https://test.joylink.club/oss/models/suidao/suidao.FBX" }//https://joylink.club/oss/models/suidao/suidao.FBX //../../static/model/ @@ -66,7 +68,7 @@ let defaultautorail = { deviceType:"autorail", type:"autorail", picUrl:"", - assetUrl:"../../static/model/auto/rail.FBX" + assetUrl:"https://test.joylink.club/oss/models/auto/rail.FBX" } let defaultautosuidao = { @@ -75,7 +77,7 @@ let defaultautosuidao = { deviceType:"autosuidao", type:"autosuidao", picUrl:"", - assetUrl:"../../static/model/auto/suidao.FBX" + assetUrl:"https://test.joylink.club/oss/models/auto/suidao.FBX" } let autoswitch1 = { @@ -84,7 +86,7 @@ let autoswitch1 = { deviceType:"autoswitch1", type:"fuzhou", picUrl:"", - assetUrl:"../../static/model/auto/switch1.FBX" + assetUrl:"https://test.joylink.club/oss/models/auto/switch1.FBX" } let autoswitch2 = { @@ -93,7 +95,7 @@ let autoswitch2 = { deviceType:"autoswitch2", type:"fuzhou", picUrl:"", - assetUrl:"../../static/model/auto/switch2.FBX" + assetUrl:"https://test.joylink.club/oss/models/auto/switch2.FBX" } export function AssetLoader(){