Browse Source

Merge remote-tracking branch 'origin/master' into ywx

tags/正式3.2.0
雍文秀 2 years ago
parent
commit
bf28d264a5
1 changed files with 1 additions and 14 deletions
  1. 1
    14
      sapi/src/main/resources/application.properties

+ 1
- 14
sapi/src/main/resources/application.properties View File

@@ -1,17 +1,13 @@
1
-
2 1
 server.port=8087
3
-
4 2
 spring.application.name=sapi
5 3
 #注册到我们本地的eureka注册中心,端口8081
6 4
 eureka.client.service-url.defaultZone=http://127.0.0.1:8081/eureka/
7 5
 #设置eureka输出日志级别
8 6
 logging.level.com.netflix=error
9
-
10 7
 spring.datasource.url=jdbc:mysql://dbtest.xhkjedu.com:13306/xhkjedu_school_test?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&rewriteBatchedStatements=true&allowMultiQueries=true
11 8
 spring.datasource.username=root
12 9
 spring.datasource.password=_xhkjedu!@#07
13 10
 spring.mvc.hiddenmethod.filter.enabled=true
14
-
15 11
 #数据库连接池配置
16 12
 spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
17 13
 #允许的最小空闲数
@@ -27,18 +23,15 @@ spring.datasource.hikari.max-lifetime=1800000
27 23
 spring.datasource.hikari.connection-timeout=20000
28 24
 # 测试连接是否可用的query 语句 在oracle是 select 1 from dual  36   28.26
29 25
 spring.datasource.hikari.connection-test-query=SELECT 1
30
-
31 26
 # 所有Entity别名类所在包
32 27
 mybatis.type-aliases-package=com.xhkjedu.sapi.model,com.xhkjedu.sapi.vo
33 28
 mybatis.mapper-Locations=classpath*:mapper/**/*.xml
34 29
 mapper.mappers=com.xhkjedu.sapi.base.TkMapper
35 30
 mapper.identity=MYSQL
36
-#打印日志的两种方式第一种可以指定包名,第二种都可以打印
31
+#打印日志
37 32
 logging.level.com.xhkjedu.sapi.mapper=debug
38
-#mybatis.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
39 33
 #分页
40 34
 spring.pagehelper.helper-dialect=mysql
41
-
42 35
 #redis配置
43 36
 spring.redis.host=cachetest.xhkjedu.com
44 37
 spring.redis.port=6379
@@ -54,7 +47,6 @@ spring.redis.jedis.pool.max-active=60000
54 47
 redisdatatime=604800
55 48
 #secretKey必须为24位
56 49
 secretKey=nanhuakaizhangjianwangni
57
-
58 50
 rabbitmq.researchTransferQueue=xhkjedu.xhschool.researchTransferQueue_dev
59 51
 rabbitmq.resourceDelQueue=xhkjedu.xhschool.resourceDelQueue_dev
60 52
 rabbitmq.researchHandleQueue=xhkjedu.xhschool.researchHandleQueue_dev
@@ -73,13 +65,11 @@ spring.rabbitmq.listener.simple.retry.max-attempts=3
73 65
 spring.rabbitmq.listener.simple.retry.initial-interval=30000ms
74 66
 #重试次数超过上面的设置之后,是否丢弃(消费者listener抛出异常,是否重回队列(默认true:重回队列,false:不重回队列(可结合死信交换机))
75 67
 spring.rabbitmq.listener.simple.default-requeue-rejected=false
76
-
77 68
 ##领创对接
78 69
 lc.lc_visiturl=http://qatest.ndwill.com:7091/public-interface.php
79 70
 lc.lc_app_id=xinghuodashuju_qa_20210524
80 71
 lc.lc_security_key=d802d29c7e0c79bdecea3a10c419231a
81 72
 lc.lc_school_prefix=henanxinghuoliaoyuankejiyouxiangongsi_
82
-
83 73
 #云平台接口地址
84 74
 cloudapi=http://scapitest.xhkjedu.com/
85 75
 #云平台文件访问路径
@@ -90,12 +80,10 @@ fileapi=https://schoolfiletest.xhkjedu.com/
90 80
 file.showurl=http://schoolstatictest.xhkjedu.com/static/
91 81
 #数据库名
92 82
 dbname=xhkjedu_school_test
93
-
94 83
 #生成id的数值区间
95 84
 nummin=10000
96 85
 nummax=50000
97 86
 numadd=100000000
98
-
99 87
 #定时任务
100 88
 #默认为false,不开启定时任务
101 89
 enable.scheduled=false
@@ -109,6 +97,5 @@ cron.synctime=0 0 3 ? * SUN
109 97
 cron.syncnum=100
110 98
 #每隔3s清除一下请求地址map
111 99
 cron.deleteUriMap=0/3 * * * * ?
112
-
113 100
 #版本号
114 101
 versionname=Test_v3.2.0

Loading…
Cancel
Save