From 0f4e7af6b9f82e1e07c35bbf5d40b0ad8078e38f Mon Sep 17 00:00:00 2001
From: haozq <1611483981@qq.com>
Date: Wed, 4 Jun 2025 15:54:54 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AE=A1=E6=A0=B8bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/utils/bonus.js | 36 +++++++++++++++++++-------
src/views/pro/apply/consEnterApply.vue | 7 +++++
2 files changed, 34 insertions(+), 9 deletions(-)
diff --git a/src/utils/bonus.js b/src/utils/bonus.js
index 8b2de59..85a07ba 100644
--- a/src/utils/bonus.js
+++ b/src/utils/bonus.js
@@ -1,23 +1,41 @@
-import { getToDoNum } from '@/api/system/notice'
+import { getToDoNum } from '@/api/system/notice';
+//0 测试 1生产
+let fileType=1;
export function lookFile() {
+ if(fileType===0){
return 'http://192.168.0.14:1999/file/statics' //14服务器
+ }else{
+ return 'http://218.21.27.6:1999/file/statics' //生产服务器
+ }
// return 'http://112.29.103.165:14413/file/statics' //1.6演示服务器
-// return 'http://218.21.27.6:1999/file/statics' //生产服务器
}
export function lookFaceFile() {
- return 'http://192.168.0.14:1999/file/statics/' //14服务器
+ if(fileType===0){
+ return 'http://192.168.0.14:1999/file/statics/' //14服务器
+ }else{
+ return 'http://218.21.27.6:1999/file/statics/' //生产服务器
+ }
//return 'http://112.29.103.165:14413/file/statics/' //1.6演示服务器
- // return 'http://218.21.27.6:1999/file/statics/' //生产服务器
+// return 'http://218.21.27.6:1999/file/statics/' //生产服务器
}
export function filePreview() {
- return 'http://192.168.0.14:8012/onlinePreview?url=' //14服务器
- // return 'http://112.29.103.165:8012/onlinePreview?url=' //1.6演示服务器
- // return 'http://218.21.27.6:18013/onlinePreview?url='
+ if(fileType===0){
+ return 'http://192.168.0.14:8012/onlinePreview?url=' //14服务器
+ }else{
+ return 'http://218.21.27.6:18013/onlinePreview?url=' //生产服务器
+ }
+ //
+ // return 'http://112.29.103.165:8012/onlinePreview?url=' //1.6演示服务器
+
}
export function lookMioIoFile() {
- // return 'http://218.21.27.6:19090/nxdt-courseware' //生产服务器
- return 'http://192.168.0.14:9090/nxdt-courseware-1' //14服务器
+ if(fileType===0){
+ return 'http://192.168.0.14:9090/nxdt-courseware-1' //14服务器
+ }else{
+ return 'http://218.21.27.6:19090/nxdt-courseware' //生产服务器
+ }
+ // return 'http://192.168.0.14:9090/nxdt-courseware-1' //14服务器
}
// lookFile: 'http://218.21.27.6:1999/nxnyback/statics',
diff --git a/src/views/pro/apply/consEnterApply.vue b/src/views/pro/apply/consEnterApply.vue
index ef87220..f5298f4 100644
--- a/src/views/pro/apply/consEnterApply.vue
+++ b/src/views/pro/apply/consEnterApply.vue
@@ -82,6 +82,12 @@
+
+
+
+
+
+