#常规设置 server.port =10006 server.servlet.context-path= spring.servlet.multipart.max-file-size=40MB spring.servlet.multipart.max-request-size=40MB #是否直接web端打印错误信息 spring.devtools.add-properties=true spring.datasource.druid.db-type=mysql spring.datasource.type=com.alibaba.druid.pool.DruidDataSource spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver spring.datasource.url=jdbc:mysql://121.43.111.127:3306/jiasm?verifyServerCertificate=false&useSSL=false&requireSSL=false&useUnicode=true&characterEncoding=UTF-8&characterSetResults=utf8&rewriteBatchedStatements=true&serverTimezone=Asia/Shanghai spring.datasource.username=root spring.datasource.password=xch!eCdvc124@ spring.datasource.druid.connection-init-sqls=set names utf8mb4 spring.datasource.druid.initial-size=5 spring.datasource.druid.minIdle=5 spring.datasource.druid.maxActive=20 ### 配置获取连接等待超时的时间,单位是毫秒 spring.datasource.druid.maxWait=60000 ### 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒 spring.datasource.druid.timeBetweenEvictionRunsMillis=60000 ### 配置一个连接在池中最小生存的时间,单位是毫秒 spring.datasource.druid.minEvictableIdleTimeMillis=300000 spring.datasource.druid.validationQuery=SELECT 1 FROM DUAL spring.datasource.druid.testWhileIdle=true spring.datasource.druid.testOnBorrow=false spring.datasource.druid.testOnReturn=false ### 打开PSCache,并且指定每个连接上PSCache的大小 spring.datasource.druid.poolPreparedStatements=true spring.datasource.druid.maxPoolPreparedStatementPerConnectionSize=20 ### 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙 spring.datasource.druid.filters=stat,wall ### 通过connectProperties属性来打开mergeSql功能;慢SQL记录 spring.datasource.druid.connectionProperties=druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000 ### log4j配置 logging.config=classpath:logback.xml #undertow_web容器配置 server.undertow.accesslog.dir=${user.dir}/logs/access server.undertow.accesslog.enabled=true server.undertow.accesslog.pattern=%h %l %u %t "%r" %s %b %D server.undertow.accesslog.prefix=access_log. server.undertow.accesslog.rotate=true server.undertow.accesslog.suffix=log server.undertow.max-http-post-size=10240000 #swagger-login-account #spring.security.user.name=admin #spring.security.user.password=gree2021 #mybatis-plus配置 mybatis-plus.mapper-locations=classpath*:/mapper/**Mapper.xml #主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID"; mybatis-plus.global-config.db-config.id-type=id_worker_str #开启sql日志 #mybatis-plus.configuration.log-impl = org.apache.ibatis.logging.stdout.StdOutImpl #map-underscore-to-camel-case = true #jackson组件时区 spring.jackson.date-format=yyyy-MM-dd HH:mm:ss spring.jackson.time-zone=GMT+8 spring.jackson.timeZone=GMT+08:00 spring.jackson.serialization.write_dates_as_timestamps=false spring.mvc.date-format=yyyy-MM-dd HH:mm:ss #####################redis 单机版 start################ spring.redis.port=6388 spring.redis.host=121.43.111.127 #redis密码 spring.redis.password=private123@^ spring.redis.lettuce.pool.max-active=300 spring.redis.lettuce.pool.max-wait=1000ms spring.redis.lettuce.pool.max-idle=100 spring.redis.lettuce.pool.min-idle=0 spring.redis.timeout=100000ms #################### 阿里云配置 ###################### ali.access.key.id=LTAI4GK1q4mnpCFbonMd1pji ali.access.key.secert=E5LW0V1H8HBxqjKkExIxaXUgSyex6C ali.oss.bucket.name=zfiresupply ali.oss.endpoint.ww=oss-cn-hangzhou.aliyuncs.com/ ali.oss.endpoint=oss-cn-hangzhou-internal.aliyuncs.com/ ali.oss.type.pic=uploadfile/ ali.sms.msg.code=SMS_212320165 ######################## 下载 ############################## clientId=guangfoserver clientSecret=f81f5ac8-ad24-4212-9b2d-9cc78f982562 tokenURL=https://idm.yshcs.gree.com:9635/auth/realms/fdp-shyun-test%20/protocol/openid-connect/token clientId4Pgid=guangfo clientSecret4Pgid=378ebb2e-cb56-44bc-8153-6c9c507574b8 baseurl=https://gateway.yshcs.gree.com:9635/api/sso/autoapp-default-server-guangzhou/ ######################## 上传 ############################## uploadbaseurl=https://gateway.yshcs.gree.com:9635/api/sso/autoapp-default-server-guangzhou/api/outapp/default/general gree.V3.gettoken=https://idm.yshcs.gree.com:9635/auth/realms/fdp-shyun-test/protocol/openid-connect/token gree.gz.appid=O921980101 gree.fs.appid=O921980101 gree.gz.appkey=4Bx3m3fOMatutVv1u08kUdtIYZ4FsN4x gree.fs.appkey=4Bx3m3fOMatutVv1u08kUdtIYZ4FsN4x gree.client.id=guangfoserver gree.V3.client.secert=f81f5ac8-ad24-4212-9b2d-9cc78f982562 ######################## 上传格力总部文件 ############################## downfileurl=https://gateway.yshcs.gree.com:9635/api/pub/nts-foundation-attachmentmanager/api/v2/attachment/download?id=%s&access_token=%s tdownfileurl=https://blog.csdn.net/lostdiver/article/details/99680901/download?id=%s&access_token=%s sevefileurl=https://gateway.yshcs.gree.com:9635/api/sso/nts-foundation-attachmentmanager/api/v2/attachment/saveFileInfo imageurl=https://gateway.yshcs.gree.com:9635/api/sso/nts-foundation-attachmentmanager/api/v2/attachment/saveFileInfo imagesign=https://gateway.yshcs.gree.com:9635/api/sso/nts-foundation-attachmentmanager/api/v2/attachment/getSignWithWdno?wdno=%s gree.gettoken=https://idm.yshcs.gree.com:9635/auth/realms/fdp-shyun-test/protocol/openid-connect/token gree.file.client.id=guangfo gree.V3.client.file.secert=378ebb2e-cb56-44bc-8153-6c9c507574b8