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.
49 lines
1.3 KiB
YAML
49 lines
1.3 KiB
YAML
#服务器端口号配置
|
|
server:
|
|
port: 8080
|
|
#数据源配置
|
|
spring:
|
|
# mvc:
|
|
# dispatch-options-request: true
|
|
datasource:
|
|
url: jdbc:mysql://rm-uf6w14g8ziqg8se61uo.mysql.rds.aliyuncs.com:3306/gszc?useUnicode=true&characterEncoding=utf-8&useSSL=false
|
|
username: root
|
|
password: Slc_mysql@19
|
|
driver-class-name: com.mysql.jdbc.Driver
|
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
druid:
|
|
initial-size: 1
|
|
max-active: 20
|
|
min-idle: 1
|
|
test-on-borrow: true
|
|
stat-view-servlet:
|
|
allow: true
|
|
|
|
#日志配置 log4j2
|
|
#logging:
|
|
# config: classpath:log4j2.yml
|
|
|
|
|
|
mybatis-plus:
|
|
mapper-locations: classpath:/mapper/gszc/*.xml
|
|
typeAliasesPackage: com.gszc.entity
|
|
configuration:
|
|
map-underscore-to-camel-case: true
|
|
call-setters-on-nulls: true
|
|
jdbc-type-for-null: VARCHAR
|
|
cache-enabled: false
|
|
|
|
wx:
|
|
miniapp:
|
|
configs:
|
|
- appid: wxb3f8c04dd0f5922f
|
|
secret: 3f6780a0187b7bd0103d096c5832023b
|
|
token: #微信小程序消息服务器配置的token
|
|
aesKey: #微信小程序消息服务器配置的EncodingAESKey
|
|
msgDataFormat: JSON
|
|
|
|
oss:
|
|
accessKeyId: LTAI4GJjFopvFkWL534CqhFr
|
|
accessKeySecret: ppLxYAPUkx1Fl4CgUvjLcaOOzlCQjk
|
|
bucketName: gszc
|
|
endpoint: oss-cn-shanghai.aliyuncs.com |