68 lines
		
	
	
		
			2.4 KiB
		
	
	
	
		
			Properties
		
	
	
		
		
			
		
	
	
			68 lines
		
	
	
		
			2.4 KiB
		
	
	
	
		
			Properties
		
	
	
|  | # ?????? | |||
|  | datasource.no1.driver-class-name: com.mysql.cj.jdbc.Driver | |||
|  | datasource.no1.url=jdbc:mysql://192.168.192.202:33068/qa-gwj-prevention?serverTimezone=UTC&useSSL=false&useUnicode=true&characterEncoding=utf-8 | |||
|  | datasource.no1.username=root | |||
|  | datasource.no1.password=gwjsjkzcloud888888 | |||
|  | datasource.no2.driver-class-name:  com.mysql.cj.jdbc.Driver | |||
|  | datasource.no2.url=jdbc:mysql://192.168.192.202:33068/qa-gwj-regulatory?serverTimezone=UTC&useSSL=false&useUnicode=true&characterEncoding=utf-8 | |||
|  | datasource.no2.username=root | |||
|  | datasource.no2.password=gwjsjkzcloud888888 | |||
|  | 
 | |||
|  | #druid连接池 | |||
|  | spring.datasource.type: com.alibaba.druid.pool.DruidDataSource | |||
|  | #最大活跃数 | |||
|  | spring.datasource.maxActive: 20 | |||
|  | #初始化数量 | |||
|  | spring.datasource.initialSize: 1 | |||
|  | #最大连接等待超时时间 | |||
|  | spring.datasource.maxWait: 60000 | |||
|  | #打开PSCache,并且指定每个连接PSCache的大小 | |||
|  | spring.datasource.poolPreparedStatements: true | |||
|  | spring.datasource.maxPoolPreparedStatementPerConnectionSize: 20 | |||
|  | #通过connectionProperties属性来打开mergeSql功能;慢SQL记录 | |||
|  | #connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000 | |||
|  | spring.datasource.minIdle: 1 | |||
|  | spring.datasource.timeBetweenEvictionRunsMillis: 60000 | |||
|  | spring.datasource.minEvictableIdleTimeMillis: 300000 | |||
|  | spring.datasource.validationQuery: select 1 from dual | |||
|  | spring.datasource.testWhileIdle: true | |||
|  | spring.datasource.testOnBorrow: false | |||
|  | spring.datasource.testOnReturn: false | |||
|  | #配置监控统计拦截的filters,去掉后监控界面sql将无法统计,'wall'用于防火墙 | |||
|  | filters: stat, wall, log4j | |||
|  | 
 | |||
|  | #缓存配置文件位置 | |||
|  | spring.cache.ehcache.cofnig=ehcache.xml | |||
|  | 
 | |||
|  | #配置这句话,控制台输出sql语句 | |||
|  | logging.level.com.zcloud.mapper=debug | |||
|  | 
 | |||
|  | #上传文件大小限制 | |||
|  | spring.servlet.multipart.max-file-size=500MB | |||
|  | spring.servlet.multipart.max-request-size=500MB | |||
|  | 
 | |||
|  | #activiti模型检测 | |||
|  | spring.activiti.check-process-definitions=false | |||
|  | 
 | |||
|  | #字符 | |||
|  | spring.http.encoding.charset=UTF-8 | |||
|  | spring.http.encoding.force=true | |||
|  | spring.http.encoding.enabled=true | |||
|  | # 关闭springboot启动时的banner | |||
|  | spring.main.banner-mode=off | |||
|  | #jar包部署时去掉注释 | |||
|  | #web.upload-path=h:/ | |||
|  | #web.front-path=h:/ | |||
|  | #spring.resources.static-locations=file:${web.upload-path},file:${web.front-path} | |||
|  | 
 | |||
|  | preventionxgf.api.url=http://192.168.192.201:8993/qa-prevention-xgf/ | |||
|  | qa-regulatory-gwj.api.url=http://192.168.192.201:8092/qa-regulatory-gwj/ | |||
|  | 
 | |||
|  | #????? | |||
|  | smb.host=192.168.192.201 | |||
|  | smb.port=22 | |||
|  | smb.user=root | |||
|  | smb.password=SJSKAQHBGLXT@20220311 | |||
|  | smb.basePath=/mnt/qask/file/ | |||
|  | 
 |