|
@@ -0,0 +1,33 @@
|
|
|
+server:
|
|
|
+ port: 8080
|
|
|
+
|
|
|
+spring:
|
|
|
+ application:
|
|
|
+ name: test02
|
|
|
+
|
|
|
+ datasource:
|
|
|
+ url: jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=UTF-8&useSSL=false&autoReconnect=true&serverTimezone=Asia/Shanghai
|
|
|
+ username: root
|
|
|
+ password: 123456
|
|
|
+ driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
+
|
|
|
+ jpa:
|
|
|
+ show-sql: true
|
|
|
+ database: mysql
|
|
|
+ hibernate:
|
|
|
+ ddl-auto: update
|
|
|
+ database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
|
|
|
+ open-in-view: true
|
|
|
+
|
|
|
+#
|
|
|
+# #redis
|
|
|
+# redis:
|
|
|
+# host: 122.112.224.199
|
|
|
+# port: 6379
|
|
|
+# password: hm123456
|
|
|
+
|
|
|
+mybatis-plus:
|
|
|
+ configuration:
|
|
|
+ # log-impl: org.apache.ibatis.logging.nologging.NoLoggingImpl
|
|
|
+ log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
|
+
|