ソースを参照

:memo: 环境配置

Twelve615 1 年間 前
コミット
14152ae762

+ 2 - 2
jlsb-vue/.env.development

@@ -1,6 +1,6 @@
 NODE_ENV=development
-# VUE_APP_API_BASE_URL=http://localhost:9999/
-VUE_APP_API_BASE_URL=http://120.79.86.50:9999/
+VUE_APP_API_BASE_URL=http://localhost:9999/
+# VUE_APP_API_BASE_URL=http://120.79.86.50:9999/
 VUE_APP_CAS_BASE_URL=http://cas.example.org:8443/cas
 VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview
 

+ 2 - 1
jlsb-vue/.env.production

@@ -1,4 +1,5 @@
 NODE_ENV=production
-VUE_APP_API_BASE_URL=http://127.0.0.1:9999/
+VUE_APP_API_BASE_URL=http://127.0.0.1:9999/burapi/
+# VUE_APP_API_BASE_URL=http://127.0.0.1:9999/
 VUE_APP_CAS_BASE_URL=http://127.0.0.1:8888/cas
 VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview

+ 1 - 1
jlsb-vue/.env.test

@@ -1,4 +1,4 @@
 NODE_ENV=production
-VUE_APP_API_BASE_URL=http://120.79.86.50:9999/
+VUE_APP_API_BASE_URL=http://8.140.240.242:8081/burapi/
 VUE_APP_CAS_BASE_URL=http://cas.example.org:8443/cas
 VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview

+ 6 - 6
jlsb/jeecg-boot-module-system/src/main/resources/application-dev.yml

@@ -7,14 +7,14 @@ server:
     include-stacktrace: ALWAYS
     include-message: ALWAYS
   servlet:
-    context-path:
+    context-path: /burapi
 #    context-path: /jeecg-boot
   compression:
     enabled: true
     min-response-size: 1024
     mime-types: application/javascript,application/json,application/xml,text/html,text/xml,text/plain,text/css,image/*
   system:
-    host: http://127.0.0.1:9999
+    host: http://127.0.0.1:8001
 management:
   endpoints:
     web:
@@ -136,9 +136,9 @@ spring:
         connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
       datasource:
         master:
-          url: jdbc:mysql://120.79.86.50:3306/jlsb?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
-          username: root
-          password: b610a50f4cc1971e
+          url: jdbc:mysql://8.140.240.242:3306/bruboses?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
+          username: bruboses
+          password: 3B3zTb6BaThTPCR2
           driver-class-name: com.mysql.cj.jdbc.Driver
           # 多数据源配置
 #        multi-datasource1:
@@ -149,7 +149,7 @@ spring:
   #redis 配置
   redis:
     database: 1
-    host: 120.79.86.50
+    host: 8.140.240.242
     lettuce:
       pool:
         max-active: 8   #最大连接数据库连接数,设 -1 为没有限制

+ 9 - 9
jlsb/jeecg-boot-module-system/src/main/resources/application-test.yml

@@ -1,5 +1,5 @@
 server:
-  port: 9999
+  port: 8081
   tomcat:
     max-swallow-size: -1
   error:
@@ -7,14 +7,14 @@ server:
     include-stacktrace: ALWAYS
     include-message: ALWAYS
   servlet:
-    context-path:
+    context-path: /burapi
   #    context-path: /jeecg-boot
   compression:
     enabled: true
     min-response-size: 1024
     mime-types: application/javascript,application/json,application/xml,text/html,text/xml,text/plain,text/css,image/*
   system:
-    host: http://120.79.86.50:9999
+    host: http://8.140.240.242:8081/burapi
 management:
   endpoints:
     web:
@@ -136,9 +136,9 @@ spring:
         connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
       datasource:
         master:
-          url: jdbc:mysql://120.79.86.50:3306/jlsb?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
-          username: root
-          password: b610a50f4cc1971e
+          url: jdbc:mysql://8.140.240.242:3306/bruboses?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
+          username: bruboses
+          password: 3B3zTb6BaThTPCR2
           driver-class-name: com.mysql.cj.jdbc.Driver
           # 多数据源配置
   #        multi-datasource1:
@@ -149,7 +149,7 @@ spring:
   #redis 配置
   redis:
     database: 1
-    host: 120.79.86.50
+    host: 8.140.240.242
     lettuce:
       pool:
         max-active: 8   #最大连接数据库连接数,设 -1 为没有限制
@@ -189,9 +189,9 @@ jeecg :
   uploadType: local
   path :
     #文件上传根目录 设置
-    upload: /www/wwwroot/babosi_shoubiao/jlsbTempFile
+    upload: /www/wwwroot/babosi_portal/admin/jlsbTempFile
     #webapp文件路径
-    webapp: /www/wwwroot/babosi_shoubiao/jlsbTempFile
+    webapp: /www/wwwroot/babosi_portal/admin/jlsbTempFile
   shiro:
     excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/**
   #阿里云oss存储和大鱼短信秘钥配置