diff --git a/flower_back/src/main/resources/application.yml b/flower_back/src/main/resources/application.yml new file mode 100644 index 0000000..48ce3e9 --- /dev/null +++ b/flower_back/src/main/resources/application.yml @@ -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 + + + + + + +