spring: jackson: time-zone: GMT+8 #mysql datasource: # url: jdbc:mysql://114.55.211.170:3306/shaoxing_toilet?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai # username: root # password: 'hdp2021888' # driver-class-name: com.mysql.cj.jdbc.Driver # type: com.alibaba.druid.pool.DruidDataSource # druid: # initial-size: 5 # min-idle: 1 # max-active: 10 # max-wait: 60000 # time-between-eviction-runsMillis: 60000 # min-evictable-idle-timeMillis: 300000 # validation-query: select 1 FROM DUAL # test-while-idle: true # test-on-borrow: false # test-on-return: false # pool-prepared-statements: true # max-open-prepared-statements: 20 # max-pool-prepared-statement-per-connection-size: 20 # filters: stat # connection-properties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000 # use-global-data-source-stat: true dynamic: primary: db1 # 配置默认数据库 datasource: db1: # 数据源1配置 url: jdbc:mysql://114.55.211.170:3306/shaoxing_toilet?characterEncoding=utf8&useUnicode=true&useSSL=false&serverTimezone=GMT%2B8 username: root password: 'hdp2021888' driver-class-name: com.mysql.cj.jdbc.Driver db2: # 数据源2配置 url: jdbc:mysql://114.55.211.170:3306/toilet_test?characterEncoding=utf8&useUnicode=true&useSSL=false&serverTimezone=GMT%2B8 username: root password: 'hdp2021888' driver-class-name: com.mysql.cj.jdbc.Driver durid: initial-size: 1 max-active: 5 min-idle: 1 max-wait: 60000 autoconfigure: exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 去除druid配置 redis: host: '114.55.211.170' port: 6379 # password: 'nanxun123456' password: 'nanxun123456' database: 1 lettuce.pool: max-active: 1000 max-idle: 10 max-wait: -1ms min-idle: 5 #配置通过url访问本地静态图片 mvc: throw-exception-if-no-handler-found: true static-path-pattern: /images/** resources: add-mappings: false static-locations: file:D://toiletImg/ #本地图片访问绑定地址 # static-locations: file:/toilet/shaoxing_toilet_img/ #阿里云服务器图片访问地址 messages: basename: i18n/messages encoding: UTF-8 servlet: multipart: max-file-size: 100MB max-request-size: 100MB enabled: true server: tomcat: uri-encoding: UTF-8 port: 8006 servlet: context-path: /shaoxing-plat mybatis-plus: mapper-locations: classpath:/com/example/modular/*/mapper/mapping/**.xml typeAliasesPackage: com.example.modular.*.po configuration: map-underscore-to-camel-case: true cache-enabled: false call-setters-on-nulls: true jdbc-type-for-null: 'null' # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl toilet: id: 1 prefix: '3306' #绍兴城市公厕编码前缀 公厕编码规则:前缀+ 六位数 img: prefixName: 'shaoxing_toilet_' localPath: 'D://toiletImg/' #本地/政务网服务 图片保存地址 # localPath: '/toilet/shaoxing_toilet_img/' #阿里云服务器图片保存地址 urlName: 'http://192.168.3.111:' #本地图片访问地址 # urlName: 'http://haidapu.com:' #阿里云服务器图片访问地址 path-pattern: '/shaoxing-plat/images/' dahua: dllPath: 'E:\suzhoutoilet\src\main\resources\libs\win64\' qiniu: accessKey: 'ClTOMx8G9JKNeqpHtn1ZRwxSItF9YmsZkxgR4xNd' secretKey: 'yvNaysB2amVKr42AcW1nnEMtMTcozwtjyRJfBTAk' bucket: 'resource-haidapu' login: verifyImgPath: D:\shaoxing_plat_jar\verify_img province: getProvinceCodeUrl: 'http://59.202.49.176:8079/ltn/get' uploadToiletDataUrl: 'http://59.202.49.176:8088/biz031Lavatory/insert' appcode: 'ef760d60f38148dd80bb39df2611e40a' username: 'gc330600' pwd: 'fzMaES0yutjvn9nTuyE' lecheng: post: '443' host: 'https://openapi.lechange.cn' appid: 'lc23e384359d264e7b' # 应邦邦:lc0889fb3a4e194475 章琦:lc198a59cb00be439c 公司:lc23e384359d264e7b scret: '3a1d5208f8ec484c9f3d74eaba4d64' #应邦邦:ffa7343241fc441e8182d44dd4d707 章琦:7d33ee4ae813468087afee8f4c8fe5 公司:3a1d5208f8ec484c9f3d74eaba4d64