123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154 |
- #spring.cloud.nacos.config.server-addr=121.43.111.127:8848
- #spring.cloud.nacos.config.namespace=d7b1bacd-5b9f-4d1e-9a20-e6f923a744ba
- #
- #spring.cloud.nacos.discovery.server-addr=121.43.111.127:8848
- #spring.cloud.nacos.discovery.namespace=d7b1bacd-5b9f-4d1e-9a20-e6f923a744ba
- #mybatis-plus.configuration.log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
- https://jiasm.zfire.top/mallMini/pay/payCall
- #支付回调地址
- wechat.payment.notifyUrl=https://jiasm.zfire.top/mallMini/pay/payCall
- #退款回调地址
- wechat.payment.refundNotifyUrl=
- #云闪付支付回调地址
- ums.payment.notifyUrl=https://jiasm.zfire.top/mallMini/pay/payCall
- #常规设置
- server.port =11004
- 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
- ##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://121.43.111.127: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=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
- # 合并多个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
- #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
- #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=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
- #阿里云key
- ali.accessKeyId=LTAI4G3XTLh8G8DiTpXHpWgt
- ali.accessKeySecret=LYe8uf7Lg9WxJ1xejk45qnPFqxXLzN
- #微信
- 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
- work.token=tMbhxdGynjrE1sraYS
- work.encodingAesKey=oeAzLQI4QzdcLNDAXuieoh7MVPYGKOmtpHpvQXiucZP
- #格力总部接口
- gree.url=http://47.115.43.13:9090/glinterface
- gree.url.token=${gree.url}/token
- gree.url.fxInstallReq=${gree.url}/fxInstallReq
- #物流订阅回调
- express.callback = http://121.43.111.127:10003/common/express/callback
- #开票
- tax.url=http://121.43.111.127:11111
- tax.token.appid = zfire
- tax.token.appSecret = gsdfbsdtsbfffcxwrtfsdfvvxaggdsa
- tax.token.url = ${tax.url}/com/token/get
- tax.invoice.url= ${tax.url}/invoice/tax
- tax.invoice.title.url= ${tax.url}/invoice/title
- #工单API
- gongdan.url=https://admin.zfire.top
- gongdan.client_name=gs-java
- gongdan.key=6aw4gwGqwQRR4-12
- gongdan.password=au9uga9wgJJwj23544++4444
- gongdan.token.get.url=${gongdan.url}/services/token/getToken
- gongdan.install.create.url=${gongdan.url}/services/order/install/mallCreateInstall
- gongdan.repair.create.url=${gongdan.url}/services/order/repair/mallCreateRepair
- gongdan.install.detail.url=${gongdan.url}/services/order/install/getDetailList
- gongdan.repair.detail.url=${gongdan.url}/services/order/repair/getDetailList
- #对接辅材
- fucai.url=http://116.62.158.92:11001/java_fucai
- fucai.saleorder.url=${fucai.url}/k3/basics/sale/order/add
- fucai.onlinepay.url=${fucai.url}/app/online/pay
- #家盛茂工程师公众号
- wx.mp.app-id=1
- wx.mp.secret=1
- #云闪付
- ums.url=https://test-api-open.chinaums.com/v1/netpay/wx/unified-order
- ums.wx.url=https://test-api-open.chinaums.com/v1/inip/upp
|