Browse Source

fix:更改oss配置

master
tanzs 1 month ago
parent
commit
74bd0ced95
3 changed files with 62 additions and 36 deletions
  1. +11
    -11
      jeecg-module-system/jeecg-system-start/src/main/resources/application-dev.yml
  2. +39
    -13
      jeecg-module-system/jeecg-system-start/src/main/resources/application-prod.yml
  3. +12
    -12
      jeecg-module-system/jeecg-system-start/src/main/resources/application-test.yml

+ 11
- 11
jeecg-module-system/jeecg-system-start/src/main/resources/application-dev.yml View File

@ -232,18 +232,18 @@ jeecg:
shiro: shiro:
excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/bigscreen/category/**,/bigscreen/visual/**,/bigscreen/map/**,/jmreport/bigscreen2/** excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/bigscreen/category/**,/bigscreen/visual/**,/bigscreen/map/**,/jmreport/bigscreen2/**
#阿里云oss存储和大鱼短信秘钥配置 #阿里云oss存储和大鱼短信秘钥配置
oss:
accessKey: LTAI5tPfZo39q2r9Sr5mW84u
secretKey: XxExGallsV4O9nERHpVsQg2XtPCU7r
endpoint: oss-cn-guangzhou.aliyuncs.com
bucketName: augcl
staticDomain: https://img.augcl.com
# oss: # oss:
# accessKey: LTAI5tHJ2CiaSEZGtYwrPcwS
# secretKey: egOOGtnxgltLlMc488YeXHDVU2cwVm
# endpoint: oss-cn-shenzhen.aliyuncs.com
# bucketName: shengchuangyunkong
# staticDomain: https://img.shengchuangyunkong.com
# accessKey: LTAI5tPfZo39q2r9Sr5mW84u
# secretKey: XxExGallsV4O9nERHpVsQg2XtPCU7r
# endpoint: oss-cn-guangzhou.aliyuncs.com
# bucketName: augcl
# staticDomain: https://img.augcl.com
oss:
accessKey: LTAI5tHJ2CiaSEZGtYwrPcwS
secretKey: egOOGtnxgltLlMc488YeXHDVU2cwVm
endpoint: oss-cn-shenzhen.aliyuncs.com
bucketName: shengchuangyunkong
staticDomain: https://img.shengchuangyunkong.com
# 短信模板 # 短信模板
sms-template: sms-template:
# 签名 # 签名


+ 39
- 13
jeecg-module-system/jeecg-system-start/src/main/resources/application-prod.yml View File

@ -64,7 +64,7 @@ spring:
quartz: quartz:
job-store-type: jdbc job-store-type: jdbc
initialize-schema: embedded initialize-schema: embedded
#定时任务开关,true-开 false-关
#定时任务启动开关,true-开 false-关
auto-startup: true auto-startup: true
#延迟1秒启动定时任务 #延迟1秒启动定时任务
startup-delay: 1s startup-delay: 1s
@ -163,9 +163,9 @@ spring:
slow-sql-millis: 5000 slow-sql-millis: 5000
datasource: datasource:
master: master:
url: jdbc:mysql://127.0.0.1:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
url: jdbc:mysql://175.24.40.40:3306/contract?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
username: root username: root
password: root
password: RKpGX%Hz
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
# 多数据源配置 # 多数据源配置
#multi-datasource1: #multi-datasource1:
@ -176,9 +176,9 @@ spring:
#redis 配置 #redis 配置
redis: redis:
database: 0 database: 0
host: 127.0.0.1
host: 175.24.40.40
port: 6379 port: 6379
password: ''
password: 'scyk.123456'
#mybatis plus 设置 #mybatis plus 设置
mybatis-plus: mybatis-plus:
mapper-locations: classpath*:org/jeecg/**/xml/*Mapper.xml mapper-locations: classpath*:org/jeecg/**/xml/*Mapper.xml
@ -216,7 +216,7 @@ jeecg:
signatureSecret: dd05f1c54d63749eda95f9fa6d49v442a signatureSecret: dd05f1c54d63749eda95f9fa6d49v442a
#签名拦截接口 #签名拦截接口
signUrls: /sys/dict/getDictItems/*,/sys/dict/loadDict/*,/sys/dict/loadDictOrderByValue/*,/sys/dict/loadDictItem/*,/sys/dict/loadTreeData,/sys/api/queryTableDictItemsByCode,/sys/api/queryFilterTableDictInfo,/sys/api/queryTableDictByKeys,/sys/api/translateDictFromTable,/sys/api/translateDictFromTableByKeys,/sys/sendChangePwdSms,/sys/user/sendChangePhoneSms,/sys/sms,/desform/api/sendVerifyCode signUrls: /sys/dict/getDictItems/*,/sys/dict/loadDict/*,/sys/dict/loadDictOrderByValue/*,/sys/dict/loadDictItem/*,/sys/dict/loadTreeData,/sys/api/queryTableDictItemsByCode,/sys/api/queryFilterTableDictInfo,/sys/api/queryTableDictByKeys,/sys/api/translateDictFromTable,/sys/api/translateDictFromTableByKeys,/sys/sendChangePwdSms,/sys/user/sendChangePhoneSms,/sys/sms,/desform/api/sendVerifyCode
# local\minio\alioss
# 本地:local、Minio:minio、阿里云:alioss
uploadType: alioss uploadType: alioss
# 前端访问地址 # 前端访问地址
domainUrl: domainUrl:
@ -232,12 +232,18 @@ jeecg:
shiro: shiro:
excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/bigscreen/category/**,/bigscreen/visual/**,/bigscreen/map/**,/jmreport/bigscreen2/**,/api/getUserInfo excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/bigscreen/category/**,/bigscreen/visual/**,/bigscreen/map/**,/jmreport/bigscreen2/**,/api/getUserInfo
#阿里云oss存储和大鱼短信秘钥配置 #阿里云oss存储和大鱼短信秘钥配置
# oss:
# accessKey: LTAI5tPfZo39q2r9Sr5mW84u
# secretKey: XxExGallsV4O9nERHpVsQg2XtPCU7r
# endpoint: oss-cn-guangzhou.aliyuncs.com
# bucketName: augcl
# staticDomain: https://img.augcl.com
oss: oss:
accessKey: ??
secretKey: ??
endpoint: oss-cn-beijing.aliyuncs.com
bucketName: jeecgdev
staticDomain: https://static.jeecg.com
accessKey: LTAI5tHJ2CiaSEZGtYwrPcwS
secretKey: egOOGtnxgltLlMc488YeXHDVU2cwVm
endpoint: oss-cn-shenzhen.aliyuncs.com
bucketName: shengchuangyunkong
staticDomain: https://img.shengchuangyunkong.com
# 短信模板 # 短信模板
sms-template: sms-template:
# 签名 # 签名
@ -286,8 +292,8 @@ jeecg:
logRetentionDays: 30 logRetentionDays: 30
#分布式锁配置 #分布式锁配置
redisson: redisson:
address: 127.0.0.1:6379
password:
address: 175.24.40.40:6379
password: scyk.123456
type: STANDALONE type: STANDALONE
enabled: true enabled: true
# 百度开放API配置 # 百度开放API配置
@ -339,3 +345,23 @@ justauth:
type: default type: default
prefix: 'demo::' prefix: 'demo::'
timeout: 1h timeout: 1h
# 微信小程序配置
wx:
miniapp:
appid: wx5b4b75c83b7485b1
secret: 9855c4e1ee863bf63ce47b718e18f8fa
aesKey: ''
msgDataFormat: 'JSON' # 消息格式,XML或者JSON.
token: ''
config-storage:
key-prefix: 'wa' # 相关redis前缀配置: wa(默认)
type: RedisTemplate # 配置类型: Memory(默认), Jedis, RedisTemplate
redis:
database: 0
host: 175.24.40.40
port: 6379
password: 'scyk.123456'
#连接超时时间
timeout: 5000
http-client-type: 'HttpClient' # http客户端类型: HttpClient(默认), OkHttp, JoddHttp

+ 12
- 12
jeecg-module-system/jeecg-system-start/src/main/resources/application-test.yml View File

@ -230,20 +230,20 @@ jeecg:
# 字体路径 # 字体路径
fonts: "/opt/fonts/simsun.ttc,0" fonts: "/opt/fonts/simsun.ttc,0"
shiro: shiro:
excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/bigscreen/category/**,/bigscreen/visual/**,/bigscreen/map/**,/jmreport/bigscreen2/**
excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/bigscreen/category/**,/bigscreen/visual/**,/bigscreen/map/**,/jmreport/bigscreen2/**,/api/getUserInfo
#阿里云oss存储和大鱼短信秘钥配置 #阿里云oss存储和大鱼短信秘钥配置
oss:
accessKey: LTAI5tPfZo39q2r9Sr5mW84u
secretKey: XxExGallsV4O9nERHpVsQg2XtPCU7r
endpoint: oss-cn-guangzhou.aliyuncs.com
bucketName: augcl
staticDomain: https://img.augcl.com
# oss: # oss:
# accessKey: LTAI5tHJ2CiaSEZGtYwrPcwS
# secretKey: egOOGtnxgltLlMc488YeXHDVU2cwVm
# endpoint: oss-cn-shenzhen.aliyuncs.com
# bucketName: shengchuangyunkong
# staticDomain: https://img.shengchuangyunkong.com
# accessKey: LTAI5tPfZo39q2r9Sr5mW84u
# secretKey: XxExGallsV4O9nERHpVsQg2XtPCU7r
# endpoint: oss-cn-guangzhou.aliyuncs.com
# bucketName: augcl
# staticDomain: https://img.augcl.com
oss:
accessKey: LTAI5tHJ2CiaSEZGtYwrPcwS
secretKey: egOOGtnxgltLlMc488YeXHDVU2cwVm
endpoint: oss-cn-shenzhen.aliyuncs.com
bucketName: shengchuangyunkong
staticDomain: https://img.shengchuangyunkong.com
# 短信模板 # 短信模板
sms-template: sms-template:
# 签名 # 签名


Loading…
Cancel
Save