ADD file via upload

main
pjhmizn49 1 year ago
parent b6050eaa06
commit b54b8c7855

@ -0,0 +1,39 @@
server:
port: 8181
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/flower?useUnicode=true&characterEncoding=utf8&useSSL=true&serverTimezone=UTC
username: root
password: zjd20080434
servlet:
multipart:
enabled: true
max-request-size: 100MB
max-file-size: 20MB
web:
resources:
static-locations: classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${web.upload-path}
web:
upload-path: /Users/zhangjiadi/IdeaProjects/毕业设计/picFiles
mybatis:
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
mapper-locations: com/example/flower/mapper/xml/*.xml
pagehelper:
helper-dialect: mysql
reasonable: false
support-methods-arguments: true
params: count=countsql
page-size-zero: true
Loading…
Cancel
Save