Browse Source

1、切换正式环境参数

master
Aug 3 weeks ago
parent
commit
ebd08bddd8
3 changed files with 11 additions and 17 deletions
  1. +1
    -1
      admin-hanhai-vue/.env.development
  2. +1
    -1
      admin-hanhai-vue/.env.production
  3. +9
    -15
      jeecg-boot-module-system/src/main/resources/application-dev.yml

+ 1
- 1
admin-hanhai-vue/.env.development View File

@ -1,5 +1,5 @@
NODE_ENV=development
VUE_APP_API_BASE_URL=https://mulinyouni.augcl.com/community-admin/
VUE_APP_API_BASE_URL=https://www.mulinyouni.com/community-admin/
//VUE_APP_API_BASE_URL=http://localhost:8000/community-admin/
VUE_APP_CAS_BASE_URL=http://cas.example.org:8443/cas
VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview


+ 1
- 1
admin-hanhai-vue/.env.production View File

@ -1,5 +1,5 @@
NODE_ENV=production
VUE_APP_API_BASE_URL=https://mulinyouni.augcl.com/community-admin/
VUE_APP_API_BASE_URL=https://www.mulinyouni.com/community-admin/
//VUE_APP_API_BASE_URL=http://localhost:8000/community-admin/
VUE_APP_CAS_BASE_URL=http://localhost:8888/cas
VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview

+ 9
- 15
jeecg-boot-module-system/src/main/resources/application-dev.yml View File

@ -134,9 +134,9 @@ spring:
# connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
datasource:
master:
url: jdbc:mysql://8.138.162.67:3306/community?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai&autoReconnect=true&failOverReadOnly=false
url: jdbc:mysql://110.40.174.12:3306/community?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai&autoReconnect=true&failOverReadOnly=false
username: root
password: Fk4q*h@V
password: p~3z5Esb
driver-class-name: com.mysql.cj.jdbc.Driver
# 多数据源配置
#multi-datasource1:
@ -147,7 +147,7 @@ spring:
#redis 配置
redis:
database: 0
host: 8.138.162.67
host: 110.40.174.12
lettuce:
pool:
max-active: -1 #最大连接数据库连接数,设 -1 为没有限制
@ -155,7 +155,7 @@ spring:
max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
min-idle: 0 #最小等待连接中的数量,设 0 为没有限制
shutdown-timeout: 1000ms
password: 'gmmGMM@2024'
password: 'Abc.123456'
port: 6379
#mybatis plus 设置
mybatis-plus:
@ -191,18 +191,12 @@ jeecg :
shiro:
excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/**
#阿里云oss存储和大鱼短信秘钥配置
# oss:
# accessKey: LTAI5tPfZo39q2r9Sr5mW84u
# secretKey: XxExGallsV4O9nERHpVsQg2XtPCU7r
# endpoint: oss-cn-guangzhou.aliyuncs.com
# bucketName: augcl
# staticDomain: https://img.augcl.com
oss:
accessKey: LTAI5tQSs47izVy8DLVdwUU9
secretKey: qHI7C3PaXYZySr84HTToviC71AYlFq
endpoint: oss-cn-shenzhen.aliyuncs.com
bucketName: hanhaiimage
staticDomain: https://image.hhlm1688.com/
accessKey: LTAI5tRqoxbC9BKrWJduKDVT
secretKey: s5ANiOq4kYpzuMLQhqPMYL4IybMR7L
endpoint: oss-cn-beijing.aliyuncs.com
bucketName: mulinyouni
staticDomain: https://image.mulinyouni.com/
# ElasticSearch 6设置
elasticsearch:
cluster-name: jeecg-ES


Loading…
Cancel
Save