You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
1.9 KiB
YAML

5 years ago
# springboot整合postgres连接配制
spring:
redis:
database: 4
host: 10.10.1.176
port: 6379
password: ribo@2016
jedis:
pool:
max-idle: 8
min-idle: 0
max-active: 8
max-wait: -1
5 years ago
datasource:
url: jdbc:mysql://106.15.109.152:3306/bsd_asy?characterEncoding=utf8&allowMultiQueries=true&autoReconnect=true
5 years ago
username: root
password: Bsd@2019
driver-class-name: com.mysql.jdbc.Driver
#解决整合后报的一个错:<aused by: java.sql.SQLFeatureNotSupportedException: 这个 org.postgresql.jdbc.PgConnection.createClob() 方法尚未被实作。>
jpa:
properties:
hibernate:
jdbc:
lob:
non_contextual_creation: true
#mybatis-plus整合加了表前缀的全局配制加了类中与表中驼峰的映射不加会查不出数据因无法做表与类字段映射
mybatis-plus:
global-config:
db-config:
table-prefix: template.
mapper-locations: classpath*:mapper/*Mapper.xml
5 years ago
type-aliases-package: com.bsd.say.entities
5 years ago
configuration:
map-underscore-to-camel-case: true
logging:
level:
5 years ago
com.bsd.say.mapper: debug
5 years ago
server:
port: 8082
5 years ago
award:
rule: 5
wechat:
5 years ago
aesKey: r4cbRuIfbbnTIgJoQE33vJACJuoioZ5pRAhumITsP8O
5 years ago
componentToken: bosidengqixi
appId:
5 years ago
componentAppId: wx474350bcaea2d745
componentAppSecret: 947dc4a4500adf09fc5ee31b132742e5
getComponentAccessTokenUrl: https://api.weixin.qq.com/cgi-bin/component/api_component_token
getAccessTokenUrl: https://api.weixin.qq.com/sns/oauth2/component/access_token?appid=
getUnionIdUrl: https://api.weixin.qq.com/sns/userinfo?access_token=
bsd:
tokenkey: BOSIDENG
sendSource: BRAND_VERIFY_CODE
verifySMSCodeUrl: http://vtest.bsd.cn/BSD_WXAPP/sysWeChat/verifySMSCode?token=
addCouponUrl: http://vtest.bsd.cn/BSD_WXAPP/miniProgram/addCoupon?token=
5 years ago
### 上传文件路径
#upload:
# excel:
# path: /Users/yaoyao.zhu/Documents/