|
@@ -1,11 +1,11 @@
|
1
|
1
|
server.port=8086
|
2
|
2
|
|
3
|
3
|
spring.application.name=sstudy
|
4
|
|
-#注册到我们本地的eureka注册中心,端口8081
|
|
4
|
+#\u6CE8\u518C\u5230\u6211\u4EEC\u672C\u5730\u7684eureka\u6CE8\u518C\u4E2D\u5FC3\uFF0C\u7AEF\u53E38081
|
5
|
5
|
eureka.client.service-url.defaultZone=http://xhschool:Xhkjedud07@127.0.0.1:8081/eureka/
|
6
|
6
|
eureka.client.register-with-eureka=true
|
7
|
7
|
eureka.client.fetch-registry=true
|
8
|
|
-#设置eureka输出日志级别
|
|
8
|
+#\u8BBE\u7F6Eeureka\u8F93\u51FA\u65E5\u5FD7\u7EA7\u522B
|
9
|
9
|
logging.level.com.netflix=error
|
10
|
10
|
|
11
|
11
|
spring.datasource.url=jdbc:mysql://dbtest.xhkjedu.com:3306/xhkjedu_school_test?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&rewriteBatchedStatements=true&allowMultiQueries=true
|
|
@@ -13,63 +13,63 @@ spring.datasource.username=root
|
13
|
13
|
spring.datasource.password=HNxhkjedu!@#07
|
14
|
14
|
spring.mvc.hiddenmethod.filter.enabled=true
|
15
|
15
|
|
16
|
|
-#数据库连接池配置
|
|
16
|
+#\u6570\u636E\u5E93\u8FDE\u63A5\u6C60\u914D\u7F6E
|
17
|
17
|
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
18
|
|
-#允许的最小空闲数
|
|
18
|
+#\u5141\u8BB8\u7684\u6700\u5C0F\u7A7A\u95F2\u6570
|
19
|
19
|
spring.datasource.hikari.minimum-idle=5
|
20
|
|
-#连接池最大连接数
|
|
20
|
+#\u8FDE\u63A5\u6C60\u6700\u5927\u8FDE\u63A5\u6570
|
21
|
21
|
spring.datasource.hikari.maximum-pool-size=50
|
22
|
22
|
spring.datasource.hikari.auto-commit=true
|
23
|
|
-#空闲超时是 180000 毫秒,当数据库连接的空闲时间大于180000毫秒时,这些空闲超时的连接会被关闭,直到超时的空闲连接数达到 minimum-idle的值
|
|
23
|
+#\u7A7A\u95F2\u8D85\u65F6\u662F 180000 \u6BEB\u79D2\uFF0C\u5F53\u6570\u636E\u5E93\u8FDE\u63A5\u7684\u7A7A\u95F2\u65F6\u95F4\u5927\u4E8E180000\u6BEB\u79D2\u65F6\uFF0C\u8FD9\u4E9B\u7A7A\u95F2\u8D85\u65F6\u7684\u8FDE\u63A5\u4F1A\u88AB\u5173\u95ED\uFF0C\u76F4\u5230\u8D85\u65F6\u7684\u7A7A\u95F2\u8FDE\u63A5\u6570\u8FBE\u5230 minimum-idle\u7684\u503C
|
24
|
24
|
spring.datasource.hikari.idle-timeout=180000
|
25
|
25
|
spring.datasource.hikari.pool-name=DatebookHikariCP
|
26
|
26
|
spring.datasource.hikari.max-lifetime=1800000
|
27
|
|
-#连接超时时间设置,默认是30s
|
|
27
|
+#\u8FDE\u63A5\u8D85\u65F6\u65F6\u95F4\u8BBE\u7F6E\uFF0C\u9ED8\u8BA4\u662F30s
|
28
|
28
|
spring.datasource.hikari.connection-timeout=20000
|
29
|
|
-# 测试连接是否可用的query 语句 在oracle是 select 1 from dual 36 28.26
|
|
29
|
+# \u6D4B\u8BD5\u8FDE\u63A5\u662F\u5426\u53EF\u7528\u7684query \u8BED\u53E5 \u5728oracle\u662F select 1 from dual 36 28.26
|
30
|
30
|
spring.datasource.hikari.connection-test-query=SELECT 1
|
31
|
31
|
|
32
|
|
-# 所有Entity别名类所在包
|
|
32
|
+# \u6240\u6709Entity\u522B\u540D\u7C7B\u6240\u5728\u5305
|
33
|
33
|
mybatis.type-aliases-package=com.xhkjedu.sstudy.model,com.sstudy.xhkjedu.vo
|
34
|
34
|
mybatis.mapper-Locations=classpath*:mapper/**/*.xml
|
35
|
35
|
mapper.mappers=com.xhkjedu.base.TkMapper
|
36
|
36
|
mybatis.configuration.call-setters-on-nulls=true
|
37
|
37
|
mapper.identity=MYSQL
|
38
|
|
-#打印日志
|
|
38
|
+#\u6253\u5370\u65E5\u5FD7
|
39
|
39
|
logging.level.com.xhkjedu.sstudy.mapper=debug
|
40
|
|
-#分页
|
|
40
|
+#\u5206\u9875
|
41
|
41
|
spring.pagehelper.helper-dialect=mysql
|
42
|
42
|
spring.datasource.initialize=false
|
43
|
43
|
|
44
|
|
-#redis配置(内网地址)
|
|
44
|
+#redis\u914D\u7F6E(\u5185\u7F51\u5730\u5740)
|
45
|
45
|
spring.redis.host=cachetest.xhkjedu.com
|
46
|
46
|
spring.redis.port=6379
|
47
|
47
|
spring.redis.password=xhkjedud07
|
48
|
|
-#超时时间:单位ms
|
|
48
|
+#\u8D85\u65F6\u65F6\u95F4\uFF1A\u5355\u4F4Dms
|
49
|
49
|
spring.redis.timeout=5000
|
50
|
|
-#设置过期时间10min
|
|
50
|
+#\u8BBE\u7F6E\u8FC7\u671F\u65F6\u95F410min
|
51
|
51
|
spring.redis.jedis.pool.max-idle=300
|
52
|
|
-#最大等待时间:单位ms //高版本改为maxWaitMillis
|
|
52
|
+#\u6700\u5927\u7B49\u5F85\u65F6\u95F4\uFF1A\u5355\u4F4Dms //\u9AD8\u7248\u672C\u6539\u4E3AmaxWaitMillis
|
53
|
53
|
spring.redis.jedis.pool.max-wait=1000000
|
54
|
54
|
spring.redis.jedis.pool.max-active=60000
|
55
|
55
|
|
56
|
|
-#消费者mq
|
|
56
|
+#\u6D88\u8D39\u8005mq
|
57
|
57
|
rabbitmq.resourceHandleQueue=xhkjedutest.xhschool.resourceHandleQueue_dev
|
58
|
58
|
rabbitmq.imgMergeHandleQueue=xhkjedutest.xhschool.imgMergeHandleQueue_dev
|
59
|
|
-#负载一生产者mq
|
|
59
|
+#\u8D1F\u8F7D\u4E00\u751F\u4EA7\u8005mq
|
60
|
60
|
rabbitmq.resourceToPdfQueue=xhkjedutest.xhschool.resourceToPdfQueue_node01_dev
|
61
|
61
|
rabbitmq.resourceTransferQueue=xhkjedutest.xhschool.resourceTransferQueue_node01_dev
|
62
|
62
|
rabbitmq.resourceUnZipQueue=xhkjedutest.xhschool.resourceUnZipQueue_node01_dev
|
63
|
63
|
rabbitmq.resourceDelQueue=xhkjedutest.xhschool.resourceDelQueue_node01_dev
|
64
|
64
|
rabbitmq.imgMergeQueue=xhkjedutest.xhschool.imgMergeQueue_node01_dev
|
65
|
|
-#负载二生产者mq
|
|
65
|
+#\u8D1F\u8F7D\u4E8C\u751F\u4EA7\u8005mq
|
66
|
66
|
rabbitmq.resourceToPdfQueue2=xhkjedutest.xhschool.resourceToPdfQueue_node02_dev
|
67
|
67
|
rabbitmq.resourceTransferQueue2=xhkjedutest.xhschool.resourceTransferQueue_node02_dev
|
68
|
68
|
rabbitmq.resourceUnZipQueue2=xhkjedutest.xhschool.resourceUnZipQueue_node02_dev
|
69
|
69
|
rabbitmq.resourceDelQueue2=xhkjedutest.xhschool.resourceDelQueue_node02_dev
|
70
|
70
|
rabbitmq.imgMergeQueue2=xhkjedutest.xhschool.imgMergeQueue_node02_dev
|
71
|
71
|
|
72
|
|
-#操作日志生产者
|
|
72
|
+#\u64CD\u4F5C\u65E5\u5FD7\u751F\u4EA7\u8005
|
73
|
73
|
rabbitmq.handleLogQueue=xhkjedutest.xhschool.handleLogQueue_dev
|
74
|
74
|
|
75
|
75
|
spring.rabbitmq.host=49.4.26.249
|
|
@@ -77,48 +77,48 @@ spring.rabbitmq.port=5672
|
77
|
77
|
spring.rabbitmq.username=xhkjedu
|
78
|
78
|
spring.rabbitmq.password=xhkjedud07
|
79
|
79
|
spring.rabbitmq.connection-timeout=15000
|
80
|
|
-#rabbitmq自动签收
|
|
80
|
+#rabbitmq\u81EA\u52A8\u7B7E\u6536
|
81
|
81
|
spring.rabbitmq.listener.simple.acknowledge-mode=auto
|
82
|
|
-# 是否开启消费者重试(为false时关闭消费者重试)
|
|
82
|
+# \u662F\u5426\u5F00\u542F\u6D88\u8D39\u8005\u91CD\u8BD5\uFF08\u4E3Afalse\u65F6\u5173\u95ED\u6D88\u8D39\u8005\u91CD\u8BD5\uFF09
|
83
|
83
|
spring.rabbitmq.listener.simple.retry.enabled=true
|
84
|
|
-# 最大重试重新投递消息次数
|
|
84
|
+# \u6700\u5927\u91CD\u8BD5\u91CD\u65B0\u6295\u9012\u6D88\u606F\u6B21\u6570
|
85
|
85
|
spring.rabbitmq.listener.simple.retry.max-attempts=3
|
86
|
|
-# 重试重新投递消息的间隔时间(单位毫秒)
|
|
86
|
+# \u91CD\u8BD5\u91CD\u65B0\u6295\u9012\u6D88\u606F\u7684\u95F4\u9694\u65F6\u95F4\uFF08\u5355\u4F4D\u6BEB\u79D2\uFF09
|
87
|
87
|
spring.rabbitmq.listener.simple.retry.initial-interval=30000ms
|
88
|
|
-#重试次数超过上面的设置之后,是否丢弃(消费者listener抛出异常,是否重回队列(默认true:重回队列,false:不重回队列(可结合死信交换机))
|
|
88
|
+#\u91CD\u8BD5\u6B21\u6570\u8D85\u8FC7\u4E0A\u9762\u7684\u8BBE\u7F6E\u4E4B\u540E\uFF0C\u662F\u5426\u4E22\u5F03(\u6D88\u8D39\u8005listener\u629B\u51FA\u5F02\u5E38\uFF0C\u662F\u5426\u91CD\u56DE\u961F\u5217\uFF08\u9ED8\u8BA4true\uFF1A\u91CD\u56DE\u961F\u5217\uFF0Cfalse\uFF1A\u4E0D\u91CD\u56DE\u961F\u5217\uFF08\u53EF\u7ED3\u5408\u6B7B\u4FE1\u4EA4\u6362\u673A\uFF09\uFF09
|
89
|
89
|
spring.rabbitmq.listener.simple.default-requeue-rejected=false
|
90
|
90
|
|
91
|
|
-#生成id的数值区间
|
|
91
|
+#\u751F\u6210id\u7684\u6570\u503C\u533A\u95F4
|
92
|
92
|
nummin=10000
|
93
|
93
|
nummax=50000
|
94
|
94
|
numadd=100000000
|
95
|
95
|
|
96
|
|
-#定时任务
|
97
|
|
-#默认为false,不开启定时任务
|
|
96
|
+#\u5B9A\u65F6\u4EFB\u52A1
|
|
97
|
+#\u9ED8\u8BA4\u4E3Afalse\uFF0C\u4E0D\u5F00\u542F\u5B9A\u65F6\u4EFB\u52A1
|
98
|
98
|
enable.scheduled=false
|
99
|
|
-#每隔1分钟修改学生作业是否显示答案
|
|
99
|
+#\u6BCF\u96941\u5206\u949F\u4FEE\u6539\u5B66\u751F\u4F5C\u4E1A\u662F\u5426\u663E\u793A\u7B54\u6848
|
100
|
100
|
cron.updatePaperStuShowanswer=0 0/1 * * * ?
|
101
|
|
-#每隔3s清除一下请求地址map
|
|
101
|
+#\u6BCF\u96943s\u6E05\u9664\u4E00\u4E0B\u8BF7\u6C42\u5730\u5740map
|
102
|
102
|
cron.deleteUriMap=0/3 * * * * ?
|
103
|
|
-#每天凌晨1点处理未合并的学生答案
|
|
103
|
+#\u6BCF\u5929\u51CC\u66681\u70B9\u5904\u7406\u672A\u5408\u5E76\u7684\u5B66\u751F\u7B54\u6848
|
104
|
104
|
cron.imgMerge=0 0 1 * * ?
|
105
|
105
|
|
106
|
|
-#云平台接口地址(外网地址)
|
|
106
|
+#\u4E91\u5E73\u53F0\u63A5\u53E3\u5730\u5740(\u5916\u7F51\u5730\u5740)
|
107
|
107
|
cloudapi=http://scapitest.xhkjedu.com/
|
108
|
|
-#云平台文件访问路径(外网地址)
|
|
108
|
+#\u4E91\u5E73\u53F0\u6587\u4EF6\u8BBF\u95EE\u8DEF\u5F84(\u5916\u7F51\u5730\u5740)
|
109
|
109
|
file.oldshowurl=http://scstatictest.xhkjedu.com/static/
|
110
|
|
-#区平台文件服务接口地址(内外网地址)
|
|
110
|
+#\u533A\u5E73\u53F0\u6587\u4EF6\u670D\u52A1\u63A5\u53E3\u5730\u5740(\u5185\u5916\u7F51\u5730\u5740)
|
111
|
111
|
fileapi=https://schoolfiletest.xhkjedu.com/
|
112
|
|
-#区平台文件访问路径(内外网地址)
|
|
112
|
+#\u533A\u5E73\u53F0\u6587\u4EF6\u8BBF\u95EE\u8DEF\u5F84(\u5185\u5916\u7F51\u5730\u5740)
|
113
|
113
|
file.showurl=http://schoolstatictest.xhkjedu.com/static/
|
114
|
|
-#数据库名
|
|
114
|
+#\u6570\u636E\u5E93\u540D
|
115
|
115
|
dbname=xhkjedu_school_test
|
116
|
116
|
|
117
|
|
-#开启spring的aop配置,默认true
|
|
117
|
+#\u5F00\u542Fspring\u7684aop\u914D\u7F6E\uFF0C\u9ED8\u8BA4true
|
118
|
118
|
spring.aop.auto=true
|
119
|
|
-#解析ip归属地数据
|
|
119
|
+#\u89E3\u6790ip\u5F52\u5C5E\u5730\u6570\u636E
|
120
|
120
|
ipregiondb=D:\\school\\ip2region.xdb
|
121
|
121
|
|
122
|
|
-#版本号
|
|
122
|
+#\u7248\u672C\u53F7
|
123
|
123
|
buildnum=300
|
124
|
|
-versionname=Test_v3.13.4
|
|
124
|
+versionname=Test_v3.14.0
|