# 数据源配置 spring: datasource: type: com.alibaba.druid.pool.DruidDataSource # driverClassName: com.mysql.cj.jdbc.Driver druid: # 主库数据源 master: # url: jdbc:mysql://192.168.8.213:3306/jsjp?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true url: jdbc:mysql://1.15.26.233:3307/jsjp?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true username: root password: miaxis110 # 从库数据源 newgzpt: # 从数据源开关/默认关闭 enabled: true url: jdbc:oracle:thin:@47.99.70.145:1521:orcl username: newgzpt password: newgzpt2016 # 初始连接数 initialSize: 5 # 最小连接池数量 minIdle: 10 # 最大连接池数量 maxActive: 20 # 配置获取连接等待超时的时间 maxWait: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒 timeBetweenEvictionRunsMillis: 60000 # 配置一个连接在池中最小生存的时间,单位是毫秒 minEvictableIdleTimeMillis: 300000 # 配置一个连接在池中最大生存的时间,单位是毫秒 maxEvictableIdleTimeMillis: 900000 # 配置检测连接是否有效 validationQuery: SELECT 1 FROM DUAL testWhileIdle: true testOnBorrow: false testOnReturn: false webStatFilter: enabled: true statViewServlet: enabled: true # 设置白名单,不填则允许所有访问 allow: url-pattern: /druid/* # 控制台管理用户名和密码 login-username: login-password: filter: stat: enabled: true # 慢SQL记录 log-slow-sql: true slow-sql-millis: 1000 merge-sql: true wall: config: multi-statement-allow: true # redis 配置 redis: # 地址 host: sh-crs-lfzs3n8w.sql.tencentcdb.com # 端口,默认为6379 port: 29466 # 密码 password: miaxis110 # 连接超时时间 timeout: 10s lettuce: pool: # 连接池中的最小空闲连接 min-idle: 0 # 连接池中的最大空闲连接 max-idle: 8 # 连接池的最大数据库连接数 max-active: 8 # #连接池最大阻塞等待时间(使用负值表示没有限制) max-wait: -1ms # 指定库 database: 4 # 短信验证 sms_user_name: "jsjp" sms_password: "t7nwh7" # 调用外部接口 feign: jgpt_ipport: http://localhost:8080/ qgpt_ipport: http://114.55.58.112:8085/ # 微信小程序 app: appid: wx606fa102dbc4b8ab secret: 93832292771493dc2aae6797edbc387c # 极速云助手微信公众号 gzh: appid: "wxff332e2f6da86bf9" secret: "65f267dcb2e387f7caf651a80a118253" # 腾讯cos cos: secretId: AKIDwISNOFsJXYGjy89FJI9UnzuZFgTtRgFe secretKey: IK5af8MJzPoKbdQxDCtKWR5T5PSEkyDB bucket: ap-shanghai bucketName: t1-1305573081 path: https://t1-1305573081.file.myqcloud.com preffix: test classId: 843437 # 微信支付 #wxpay: # v3url: https://api.mch.weixin.qq.com/v3/pay/transactions/jsapi # v3urlRefund: https://api.mch.weixin.qq.com/v3/refund/domestic/refunds # merchantId: 1608699504 # serialNumber: 487159E168001CDBA0EFE2C988249A84023AD6CC # v3key: qqwweerrttyyuuiioopp123456789000 # notifyUrl: http://1.15.26.233:8080/jsjp-admin/open-api/wx/notify/wxpay # notifyUrlRefund: http://1.15.26.233:8080/jsjp-admin/open-api/wx/notify/refund # 极速驾培微信支付 wxpay: v3url: https://api.mch.weixin.qq.com/v3/pay/transactions/app v3urlRefund: https://api.mch.weixin.qq.com/v3/refund/domestic/refunds merchantId: 1611324484 serialNumber: 53EBF541F383371B121D7B57B25305FC0BB04F42 v3key: 7hM14893GvG3JK05575jk1l6P4tF042B notifyUrl: https://jsjp-admin1.zzxcx.net/open-api/wx/notify/wxpay notifyUrlRefund: https://jsjp-admin1.zzxcx.net/open-api/wx/notify/refund appId: wx606fa102dbc4b8ab # 电影 film: appKey: 10000000000 appSecret: 25f9e794323b453885f5181f1b624d0b notifyUrl: http://1.15.26.233:8080/jsjp-admin/open-api/film/notify/filmOrder v1Url: http://movieapi-test.taototo.cn/ v2Url: http://movieapi2-test.taototo.cn/ # 拼多多 pdd: clientId: "fa0f2debb5b0444b9719919d7b8204d1" clientSecret: "3305b6bb37252495848e67fd991134651e308495" pid: "1642187_203462988" # 美团联盟 mei: actId: "2" key: "610077fffb51712efaa686d9ffb623da" secret: "514202a9238958b16cb13805d6f79273" sid: "jsshq001" appId: "wxde8ac0a21135c07d" # 挖数据平台 wai: appid: "7629" secret: "cce08fcab10ff96a863892bb6e396a9e" # 福禄平台 fulu: appKey: "i4esv1l+76l/7NQCL3QudG90Fq+YgVfFGJAWgT+7qO1Bm9o/adG/1iwO2qXsAXNB" appSecret: "0a091b3aa4324435aab703142518a8f7" url: "http://pre.openapi.fulu.com" notifyUrl: "http://1.15.26.233:8080/jsjp-admin/open-api/fulu/notify/fuluOrder"