#spring.cloud.nacos.config.server-addr=172.18.61.6:8848 #spring.cloud.nacos.config.namespace=80f5fb84-c3f9-4773-a297-204d1f39e23d # #spring.cloud.nacos.discovery.server-addr=172.18.61.6:8848 #spring.cloud.nacos.discovery.namespace=80f5fb84-c3f9-4773-a297-204d1f39e23d #支付回调地址 wechat.payment.notifyUrl= #退款回调地址 wechat.payment.refundNotifyUrl= #常规设置 server.port =11003 spring.servlet.multipart.max-file-size=40MB spring.servlet.multipart.max-request-size=40MB #是否直接web端打印错误信息 spring.devtools.add-properties=true #echache缓存 spring.cache.type=ehcache spring.cache.ehcache.config=classpath:ehcache.xml #定时器开关 schedule.enable=true ##SQL执行分析,该插件有性能损耗,不建议生产环境使用 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://127.0.0.1:3306/new_mall?verifyServerCertificate=false&useSSL=false&requireSSL=false&useUnicode=true&characterEncoding=UTF-8&characterSetResults=utf8&serverTimezone=Asia/Shanghai spring.datasource.username=root spring.datasource.password=root 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 # 合并多个DruidDataSource的监控数据 #spring.datasource.useGlobalDataSourceStat=true ### 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 #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 web.upload-path=${user.dir}/static/ web.imageService=https://xxxxx #####################redis 单机版 start################ spring.redis.port=6379 spring.redis.host=127.0.0.1 #redis密码 spring.redis.password= 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 #阿里云key ali.accessKeyId=LTAI4G3XTLh8G8DiTpXHpWgt ali.accessKeySecret=LYe8uf7Lg9WxJ1xejk45qnPFqxXLzN #延迟消息线程数量 thread.size = 1 #微信 wechat.appid=wxaddd13c267e81e70 wechat.mch.id=1602811075 wechat.mch.key=ZfiretopAdmin20210309GreeAdminSe wechat.sub.appid=wxd935838591c00e16 wechat.sub.secret=a19f2ec72d9e1f0b4f86fac729f6ba81 wechat.keyPath=classpath:/static/apiclient_cert.p12 #发票API gjmall.url=https://gjmall.zfire.top tax.token.appid=zfire tax.token.appSecret=gsdfbsdtsbfffcxwrtfsdfvvxaggdsa tax.token.url=${gjmall.url}/interface/com/token/get tax.invoice.url=${gjmall.url}/interface/invoice/tax tax.invoice.title.url=${gjmall.url}/interface/invoice/title #物流回调 express.callback=${gjmall.url}/api/common/express/callback #云闪付 ums.url=https://api-mop.chinaums.com yue.huan.xin.url=https://mgw-test.gnete.com/gdhlgo2o yue.huan.xin.sftp=180.76.208.207 yue.huan.xin.sftp.port=40980