任一存 1 year ago
parent
commit
34f797ef32
3 changed files with 11 additions and 4 deletions
  1. 3 4
      .env.development
  2. 6 0
      README.md
  3. 2 0
      src/main.js

+ 3 - 4
.env.development

@@ -1,6 +1,7 @@
 
 # 场景资源地址
-VUE_APP_RESOURCE_URL=https://eurs3.4dkankan.com/
+VUE_APP_RESOURCE_URL=https://testeurs3.4dkankan.com/
+
 # 静态资源地址
 VUE_APP_CDN_URL=https://4dkk.4dage.com/v4/www/
 # sdk文件地址
@@ -21,6 +22,4 @@ VUE_APP_STATIC_DIR=viewer
 VUE_APP_REGION_URL=aws
 
 # 接口请求地址
-#VUE_APP_APIS_URL=http://192.168.0.38:8888/
-VUE_APP_APIS_URL=https://vr.cdfmembers.com/
-
+VUE_APP_APIS_URL=https://zhongmian.4dage.com/

+ 6 - 0
README.md

@@ -4,9 +4,15 @@
 # 翻墙
 测试环境,有时候不翻墙会拿不到资源文件。但正式环境,翻墙了又会有明显的缓存问题……
 
+# 开发环境
+用了测试环境的数据
+
 # 测试环境
 (和中免-展示端-澳门共用一个部署位置。也就是说任一时刻只能部署二者之一。)
 
+## 打包命令
+yarn build-testprod
+
 ## url
 https://zhongmian.4dage.com/index.html?m=xxxxxxxxxxxxxxx
 

+ 2 - 0
src/main.js

@@ -7,6 +7,8 @@ import App from "./app.vue";
 import browser from "@/utils/browser";
 import i18n, { getLocale, setI18nLanguage, loadLocaleMessages } from './i18n'
 
+console.log('2023.10.24 10:35');
+
 if (!window.location.search) {
   window.location.href = "/index.html?m=KJ-eur-MBJF95ae80&pose=pano:58,qua:0,-0.7979,0,0.6028&lang=zh_HK";
 } else if (!browser.hasURLParam("pose") && browser.getURLParam("m") == "KJ-eur-MBJF95ae80") {