You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
854 B
31 lines
854 B
server:
|
|
port: 9090
|
|
|
|
# 数据库配置
|
|
spring:
|
|
datasource:
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
username: root #你本地的数据库用户名
|
|
password: 123456 #你本地的数据库密码
|
|
url: jdbc:mysql://localhost:3306/super_rice?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false&serverTimezone=GMT%2b8&allowPublicKeyRetrieval=true
|
|
servlet:
|
|
multipart:
|
|
max-file-size: 100MB
|
|
max-request-size: 100MB
|
|
|
|
# 配置mybatis实体和xml映射
|
|
mybatis:
|
|
mapper-locations: classpath:mapper/*.xml
|
|
type-aliases-package: com.example.entity
|
|
configuration:
|
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
map-underscore-to-camel-case: true
|
|
|
|
# 分页
|
|
pagehelper:
|
|
helper-dialect: mysql
|
|
reasonable: true
|
|
support-methods-arguments: true
|
|
params: count=countSql
|
|
|
|
ip: localhost |