|
@@ -1,5 +1,5 @@
|
|
|
server:
|
|
|
- port: 8083
|
|
|
+ port: 8080
|
|
|
tomcat:
|
|
|
max-swallow-size: -1
|
|
|
error:
|
|
@@ -7,7 +7,7 @@ server:
|
|
|
include-stacktrace: ALWAYS
|
|
|
include-message: ALWAYS
|
|
|
servlet:
|
|
|
- context-path: /smis-boot
|
|
|
+ context-path: /exam-boot
|
|
|
compression:
|
|
|
enabled: true
|
|
|
min-response-size: 1024
|
|
@@ -27,7 +27,7 @@ spring:
|
|
|
mail:
|
|
|
host: smtp.163.com
|
|
|
username: ??mailManageUser
|
|
|
- password: ??RqRB5nj4Qev44#Qd
|
|
|
+ password: ??Ftw7hE3A(7Jbpc7u
|
|
|
properties:
|
|
|
mail:
|
|
|
smtp:
|
|
@@ -100,7 +100,7 @@ spring:
|
|
|
stat-view-servlet:
|
|
|
enabled: true
|
|
|
loginUsername: druidManageUser
|
|
|
- loginPassword: 2RgJ9zpmcQ3pg%j7
|
|
|
+ loginPassword: A2DC@dh%F473MgWY
|
|
|
allow:
|
|
|
web-stat-filter:
|
|
|
enabled: true
|
|
@@ -110,7 +110,7 @@ spring:
|
|
|
# 初始化大小,最小,最大
|
|
|
initial-size: 5
|
|
|
min-idle: 5
|
|
|
- maxActive: 1000
|
|
|
+ maxActive: 20
|
|
|
# 配置获取连接等待超时的时间
|
|
|
maxWait: 60000
|
|
|
# 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
|
|
@@ -125,15 +125,15 @@ spring:
|
|
|
poolPreparedStatements: true
|
|
|
maxPoolPreparedStatementPerConnectionSize: 20
|
|
|
# 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙
|
|
|
- filters: stat,wall,slf4j
|
|
|
+ filters: stat,slf4j
|
|
|
# 通过connectProperties属性来打开mergeSql功能;慢SQL记录
|
|
|
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
|
|
|
datasource:
|
|
|
master:
|
|
|
- url: jdbc:postgresql://10.2.7.113:5432/db_smis?currentSchema=db_smis
|
|
|
- username: gaussdb
|
|
|
- password: gaussdb@1qazx
|
|
|
- driver-class-name: org.postgresql.Driver
|
|
|
+ url: jdbc:mysql://119.29.209.39:3306/db_exam?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
+ username: root
|
|
|
+ password: yang@kmust141611
|
|
|
+ driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
# 多数据源配置
|
|
|
#multi-datasource1:
|
|
|
#url: jdbc:mysql://localhost:3306/jeecg-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
|
@@ -143,7 +143,8 @@ spring:
|
|
|
#redis 配置
|
|
|
redis:
|
|
|
database: 0
|
|
|
- host: 10.2.7.113
|
|
|
+ host: 119.29.209.39
|
|
|
+ #192.168.132.153
|
|
|
port: 6379
|
|
|
password: 'dpf5xTYsUfrCR%Hs'
|
|
|
#mybatis plus 设置
|
|
@@ -172,7 +173,7 @@ jeecg:
|
|
|
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
|
|
|
- #local\minio\alioss
|
|
|
+ #local、minio、alioss
|
|
|
uploadType: minio
|
|
|
# 前端访问地址
|
|
|
domainUrl:
|
|
@@ -180,34 +181,33 @@ jeecg:
|
|
|
app: http://localhost:8051
|
|
|
path:
|
|
|
#文件上传根目录 设置
|
|
|
- upload: /opt/jeecg-boot/upload
|
|
|
+ upload: /opt/upFiles
|
|
|
#webapp文件路径
|
|
|
- webapp: /opt/jeecg-boot/webapp
|
|
|
+ webapp: /opt/webapp
|
|
|
shiro:
|
|
|
- excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/**,/api/getUserInfo
|
|
|
+ excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/**
|
|
|
#阿里云oss存储和大鱼短信秘钥配置
|
|
|
oss:
|
|
|
accessKey: ??
|
|
|
secretKey: ??
|
|
|
endpoint: oss-cn-beijing.aliyuncs.com
|
|
|
bucketName: jeecgdev
|
|
|
- staticDomain: https://static.jeecg.com
|
|
|
- # ElasticSearch 设置
|
|
|
+ # ElasticSearch 6设置
|
|
|
elasticsearch:
|
|
|
cluster-name: jeecg-ES
|
|
|
cluster-nodes: 127.0.0.1:9200
|
|
|
- check-enabled: true
|
|
|
+ check-enabled: false
|
|
|
# 在线预览文件服务器地址配置
|
|
|
- file-view-domain: http://fileview.jeecg.com
|
|
|
+ file-view-domain: 127.0.0.1:8012
|
|
|
# minio文件上传
|
|
|
minio:
|
|
|
- minio_url: http://192.168.132.153:9000/
|
|
|
- minio_name: ZMX3R1HVJARIZMJ9T3VF
|
|
|
- minio_pass: CqKZwHPpnWq+h7YJhJ3O7xFamkUdNYq4coz8c8cF
|
|
|
- bucketName: smis-bucket
|
|
|
+ minio_url: http://119.29.209.39:9000/
|
|
|
+ minio_name: minioadmin
|
|
|
+ minio_pass: minioadmin
|
|
|
+ bucketName: exam-bucket
|
|
|
#大屏报表参数设置
|
|
|
jmreport:
|
|
|
- mode: prod
|
|
|
+ mode: dev
|
|
|
#数据字典是否进行saas数据隔离,自己看自己的字典
|
|
|
saas: false
|
|
|
#是否需要校验token
|
|
@@ -227,6 +227,13 @@ cas:
|
|
|
logging:
|
|
|
level:
|
|
|
org.jeecg.modules.system.mapper: info
|
|
|
+ com.yntravelsky.buss.exam.paper.mapper: debug
|
|
|
+ com.yntravelsky.buss.exam.question.mapper: debug
|
|
|
+ com.yntravelsky.buss.exam.exam.mapper: debug
|
|
|
+ com.yntravelsky.buss.exam.userexam.mapper: debug
|
|
|
+ com.yntravelsky.buss.exam.userexamresult.mapper: debug
|
|
|
+ com.yntravelsky.buss.exam.examstatistics.mapper: debug
|
|
|
+ com.yntravelsky.buss.exam.examuserstatistics.mapper: debug
|
|
|
#swagger
|
|
|
knife4j:
|
|
|
#开启增强配置
|
|
@@ -234,9 +241,9 @@ knife4j:
|
|
|
#开启生产环境屏蔽
|
|
|
production: false
|
|
|
basic:
|
|
|
- enable: true
|
|
|
- username: jeecg
|
|
|
- password: jeecg1314
|
|
|
+ enable: false
|
|
|
+ username: knife4jSmis
|
|
|
+ password: knife4jSmis@1314
|
|
|
#第三方登录
|
|
|
justauth:
|
|
|
enabled: true
|
|
@@ -284,4 +291,4 @@ third-app:
|
|
|
client-id: ??
|
|
|
# appSecret
|
|
|
client-secret: ??
|
|
|
- agent-id: ??
|
|
|
+ agent-id: ??
|