| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214 |
- #prod外网环境配置
- server:
- #端口
- port: 8082
- context-path: /myboot
- spring:
- profiles: prodout
- jmx:
- default-domain: app2
- #redis
- redis:
- host: 192.168.173.19
- password: fgjredis-1234
- port: 6379
- pool:
- max-idle: 300
- min-idle: 20
- max-active: 600
- max-wait: 2000
- #数据源
- datasource:
- url: jdbc:mysql://10.44.104.42:3306/service_platform?useUnicode=true&characterEncoding=utf-8&useSSL=true&autoReconnect=true&allowMultiQueries=true
- username: root
- password: ${password}
- driver-class-name: com.mysql.jdbc.Driver
- # 使用druid数据源
- type: com.alibaba.druid.pool.DruidDataSource
- # 下面为连接池的补充设置,应用到上面所有数据源中
- # 初始化大小,最小,最大
- druid:
- initialSize: 5
- minIdle: 5
- maxActive: 20
- # 配置获取连接等待超时的时间
- maxWait: 60000
- # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
- timeBetweenEvictionRunsMillis: 60000
- # 配置一个连接在池中最小生存的时间,单位是毫秒
- minEvictableIdleTimeMillis: 300000
- validationQuery: SELECT 1 FROM DUAL
- testWhileIdle: false
- testOnBorrow: false
- testOnReturn: false
- # 打开PSCache,并且指定每个连接上PSCache的大小
- poolPreparedStatements: true
- maxPoolPreparedStatementPerConnectionSize: 20
- # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙
- filters: stat,log4j,config
- # 通过connectProperties属性来打开mergeSql功能;慢SQL记录
- connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000;config.decrypt=true;config.decrypt.key=${publicKey}
- filter:
- wall:
- enabled: true
- config:
- # 开启批量提交
- multi-statement-allow: true
- config:
- enabled: false
- # 合并多个DruidDataSource的监控数据
- #useGlobalDataSourceStat: true
- #Druid监控web配置
- web-stat-filter:
- url-pattern: /*
- enabled: false
- # exclusions: *.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*
- stat-view-servlet:
- enabled: false
- url-pattern: /admin/sys/monitor/druid/*
- #设置白名单
- # allow: 10.105.0.220
- #设置黑名单
- deny:
- #设置登录查看信息的账号密码
- # login-username: admin
- # login-password: admin
- #视图
- mvc:
- view:
- prefix: /templates/
- suffix: .html
- #thymeleaf模版
- thymeleaf:
- cache: false
- mode: HTML
- encoding: UTF-8
- content-type: text/html
- #文件上传配置
- http:
- multipart:
- #开启文件上传
- enabled: true
- file-size-threshold: 0
- #懒加载
- resolve-lazily: true
- #单个文件的大小限制
- max-file-size: 300MB
- #整个请求文件的大小限制
- max-request-size: 300MB
- #jackson配置
- jackson:
- # 属性为NULL 不序列化
- default-property-inclusion: non_null
- # 解决数据库与jvm时区相差8小时的问题
- time-zone: GMT+8
- #mybatis
- mybatis:
- #指定目录类型别名扫描
- # type-aliases-package: platform.entity
- #指定mapper.xml的位置
- mapper-locations: classpath:mapper/**/*.xml
- configuration:
- #开启驼峰命名法转换字段支持,用于对象关系绑定
- map-underscore-to-camel-case: false
- #通用mapper
- mapper:
- mappers:
- platform.common.base.mapper.BaseMapper
- not-empty: false
- identity: MYSQL
- #分页插件
- pagehelper:
- helperDialect: mysql
- reasonable: true
- supportMethodsArguments: true
- params: count=countSql
- #测试小程序
- ##app_id
- #app_id: wx3007d6086b29908c
- #
- ##app_sercet
- #app_sercet: 68245dbd037f7516bcbe0eeafc1e01a9
- # 正式小程序
- #app_id
- app_id: wx27a06edbe6042585
- #app_sercet
- app_sercet: 10a09d22fb48ba84f892bbde056dac06
- activity_page_path_detail: pages/activity/activityDetail/main
- activity_page_path_sign: pages/activity/signInDetail/main
- #日志
- logging:
- config: classpath:logback-jk.xml
- # path: /logs
- #数据库密码加密
- #java -cp druid-1.1.0.jar com.alibaba.druid.filter.config.ConfigTools 你的密码
- publicKey: MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAIMx332UUYFcxPYHIEunciA17W0DoVdaGghmWNJLJqyy+AXQyxVu5Wq+v3nxWSNiOf8JIZcHtofQJomGOhbjzMkCAwEAAQ==
- password: DHjPUaxtgLj6B63mND5ccHj3PXyNIsD/GLoc9jIqY6blFQCCwMyKje8ZCuf22YKlbK9JH8lc4dG1IjQc0fBTlA==
- #上传文件配置信息
- #文件仓库地址
- openSms: true
- repositoryPath: /opt/xinqu_pic
- #新区接口地址
- api_url: http://snd.ideatob.com/mp/api/
- #访问路径
- fileUrl: http://escloud.snd.gov.cn/uploads
- #访问外网路径
- fileOutUrl: http://escloud.snd.gov.cn/uploads
- #apk文件存放地址
- apk_url: /opt/xinqu_pic/apk/
- #域名
- service_name: escloud.snd.gov.cn
- #key
- carrier_hash_key: industrial_carrier_token
- epoint:
- client-id: 998d3291-037b-4c4c-aa42-0e0f6fc00f67
- client-secret: 19bb468d-d857-41b5-a6b9-7fed4873e35c
- grant-type: authorization_code
- redirect-uri: http%3A%2F%2Fescloud.snd.gov.cn%2Findex%2F%23%2Fhome
- url:
- get-current-login-user: https://sst.suzhou.gov.cn/sst-smartcity-sso/rest/smartcitysso/getCurrentLoginUser
- get-token-by-code: https://sst.suzhou.gov.cn/sst-smartcity-sso/rest/oauth2/token
- jszypt:
- url:
- login: https://test.jszypt.com:23424/front/login-for-cloud-platfrom/login
- company_add_delete_map: 10.17.17.13:8888
- area-show-ip: 10.44.104.12
- area-show-port: 80
- #area-show-ip: 10.17.17.16
- #area-show-port: 6080
- resetPassword: 123456
- maxFileSize: 5120MB
- maxRequestSize: 5120MB
- # 企业服务中心负责人电话:wei.pp的电话
- company-master-phone: 18362602202
- # 企业服务中心负责人电话:lingwei的电话
- #company-master-phone: 18625008937
- #endpoints:
- # health:
- # sensitive: false
|