|
@@ -0,0 +1,57 @@
|
|
|
+server:
|
|
|
+ profiles:
|
|
|
+ active: dev
|
|
|
+ port: 31234
|
|
|
+
|
|
|
+# swagger配置
|
|
|
+swagger:
|
|
|
+ enabled: true
|
|
|
+ title: "项目管理"
|
|
|
+ base-package: com.migao.controller
|
|
|
+ description: "项目管理"
|
|
|
+
|
|
|
+spring:
|
|
|
+ profiles:
|
|
|
+ active:
|
|
|
+ servlet:
|
|
|
+ multipart:
|
|
|
+ max-file-size: 10240MB
|
|
|
+ max-request-size: 10240MB
|
|
|
+
|
|
|
+ datasource:
|
|
|
+ url: jdbc:mysql://localhost:3306/project?serverTimezone=Hongkong&useSSL=false&useUnicode=true&characterEncoding=UTF-8&nullCatalogMeansCurrent=true
|
|
|
+ hikari:
|
|
|
+ username: root
|
|
|
+ password: 1qazxsw2
|
|
|
+ maximum-pool-size: 10
|
|
|
+ driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
+
|
|
|
+ jpa:
|
|
|
+ show-sql: false
|
|
|
+ hibernate:
|
|
|
+ ddl-auto: update
|
|
|
+ properties:
|
|
|
+ hibernate:
|
|
|
+ format_sql: true
|
|
|
+ open-in-view: false
|
|
|
+ generate-ddl: true
|
|
|
+
|
|
|
+
|
|
|
+mybatis-plus:
|
|
|
+ mapper-locations: classpath*:/mapper/*.xml
|
|
|
+ global-config:
|
|
|
+ db-config:
|
|
|
+ table-prefix: t_
|
|
|
+ table-underline: true
|
|
|
+
|
|
|
+logging:
|
|
|
+ file:
|
|
|
+ path: ./project.log
|
|
|
+ max-size: 100MB
|
|
|
+ level:
|
|
|
+ root: info
|
|
|
+
|
|
|
+com:
|
|
|
+ migao:
|
|
|
+ download-prefix: http://127.0.0.1:${server.port}
|
|
|
+ file-store-dir: download
|