|
@@ -0,0 +1,111 @@
|
|
|
+spring:
|
|
|
+ #数据源连接--start
|
|
|
+ datasource:
|
|
|
+ url: jdbc:mysql://rm-wz928s8btl7kxil44.mysql.rds.aliyuncs.com:3306/caimei?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&rewriteBatchedStatements=true
|
|
|
+ username: coder
|
|
|
+ password: diKtPYZ%wToI&9#L
|
|
|
+ # Hikari will use the above plus the following to setup connection pooling
|
|
|
+ type: com.zaxxer.hikari.HikariDataSource
|
|
|
+ hikari:
|
|
|
+ minimum-idle: 5
|
|
|
+ maximum-pool-size: 15
|
|
|
+ auto-commit: true
|
|
|
+ idle-timeout: 30000
|
|
|
+ pool-name: DatebookHikariCP
|
|
|
+ max-lifetime: 1800000
|
|
|
+ connection-timeout: 30000
|
|
|
+ connection-test-query: SELECT 1
|
|
|
+ #数据源连接--end
|
|
|
+
|
|
|
+ redis:
|
|
|
+ host: 172.31.165.23
|
|
|
+ port: 6379
|
|
|
+ #password: 6#xsI%b4o@5c3RoE
|
|
|
+ #Redis数据库索引(默认为0)
|
|
|
+ database: 0
|
|
|
+ #连接池最大连接数(使用负值表示没有限制)
|
|
|
+ jedis:
|
|
|
+ pool:
|
|
|
+ max-active: 50
|
|
|
+ #连接池最大阻塞等待时间(使用负值表示没有限制)
|
|
|
+ max-wait: 3000
|
|
|
+ #连接池中的最大空闲连接
|
|
|
+ max-idle: 20
|
|
|
+ #连接池中的最小空闲连接
|
|
|
+ min-idle: 2
|
|
|
+ #连接超时时间(毫秒)
|
|
|
+ timeout: 5000
|
|
|
+
|
|
|
+ #上传文件大小
|
|
|
+ servlet:
|
|
|
+ multipart:
|
|
|
+ max-file-size: 10MB
|
|
|
+ max-request-size: 100MB
|
|
|
+
|
|
|
+#日志配置
|
|
|
+logging:
|
|
|
+ file:
|
|
|
+ path: /mnt/newdatadrive/data/runtime/jar-instance/spi/logs
|
|
|
+ level:
|
|
|
+ root: info
|
|
|
+
|
|
|
+# swagger文档显示配置
|
|
|
+swagger:
|
|
|
+ enable: false
|
|
|
+
|
|
|
+#自定义配置
|
|
|
+wx:
|
|
|
+ #pcwx信息
|
|
|
+ AppId: wx22be9ab1a6aa4715
|
|
|
+ AppSecret: ebf8cfc4dbadae3431a8b0267c4fd09f
|
|
|
+ redirect_uri: https://www.caimei365.com/user/wechatLogin
|
|
|
+ #小程序wx信息
|
|
|
+ mini_AppId: wxf3cd4ae0cdd11c36
|
|
|
+ mini_AppSecret: f5707c40c07adf0e2110c58ce6a4f4b3
|
|
|
+ #crm公众号信息
|
|
|
+ crm_AppId: wxea43a0f9ebce9e66
|
|
|
+ crm_AppSecret: 1c3cd60908e72dd280840bee9e15f7f6
|
|
|
+
|
|
|
+
|
|
|
+# 新旧www服务域名
|
|
|
+caimei:
|
|
|
+ oldapi: https://www.caimei365.com
|
|
|
+ newapi: https://spi.caimei365.com
|
|
|
+ imageDomain: https://img.caimei365.com
|
|
|
+ # 第三方金太阳域名
|
|
|
+ thirdPartyDomain: https://www.askinchoice.com
|
|
|
+ # 第三方金太阳Id
|
|
|
+ thirdPartyId: 1
|
|
|
+ # 第三方金太阳秘钥
|
|
|
+ thirdPartySecret: $2y$10$R7D3hNF1sQAN3JJjSEUUlOlq7zGe1yDOBiiZLTFcSAzXUDT00qdaa
|
|
|
+ # 采美Secret:product&jty
|
|
|
+ caimeiSecret: ae2a2c3aaf9d34defe8be2c427034c92
|
|
|
+
|
|
|
+ #小程序邀请码过期天数
|
|
|
+ ValidTime: 7
|
|
|
+ #支付异步回调地址
|
|
|
+ notifyUrl: https://spi.caimei365.com/PayOrder/paymentCallback
|
|
|
+ #支付链接重定向地址
|
|
|
+ redirectLink: https://spi.caimei365.com/PayOrder/jumpPage
|
|
|
+ #链接页面
|
|
|
+ linkPage: https://www.caimei365.com/pay/caimei-pay.html
|
|
|
+ #二手支付异步回调地址
|
|
|
+ secondHandUrl: https://spi.caimei365.com/PayOrder/secondHandPayCallBack
|
|
|
+
|
|
|
+#DFS配置
|
|
|
+fdfs:
|
|
|
+ so-timeout: 5000 #上传的超时时间
|
|
|
+ connect-timeout: 2000 #连接超时时间
|
|
|
+ thumb-image: #缩略图生成参数
|
|
|
+ width: 150
|
|
|
+ height: 150
|
|
|
+ tracker-list: #TrackerList参数,支持多个
|
|
|
+ - 172.31.165.24:22122
|
|
|
+
|
|
|
+# 阿里云开放搜索
|
|
|
+aliyunConfig:
|
|
|
+ accessKey: LTAI4GBL3o4YkWnbKYgf2Xia
|
|
|
+ secret: dBjAXqbYiEPP6Ukuk2ZsXQeET7FVkK
|
|
|
+ searchHost: http://opensearch-cn-shenzhen.aliyuncs.com
|
|
|
+ searchName: caimei_search
|
|
|
+
|