diff --git a/pom.xml b/pom.xml
index 199c014..3c73c2b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -18,7 +18,6 @@
17
17
UTF-8
- 3.5.1
@@ -39,24 +38,6 @@
lombok
-
-
- com.baomidou
- mybatis-plus-boot-starter
- ${mybatisplus.version}
-
-
- com.baomidou
- mybatis-plus-generator
- ${mybatisplus.version}
-
-
-
-
- com.h2database
- h2
-
-
com.alibaba.fastjson2
fastjson2
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index cce1bba..dc81ed7 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -1,57 +1,6 @@
server:
port: 81
- datasource:
- username: muyu
- password: 123456
- # 如果需要数据本地化,则改成 file 方式
- # jdbc:h2:mem:testDB;DB_CLOSE_DELAY=-1
- url: jdbc:h2:file:~/vehicle/ali/openapi;AUTO_SERVER=TRUE;DB_CLOSE_DELAY=-1
- driver-class-name: org.h2.Driver
- h2:
- # 开启这个配置就可以通过 web 页面访问了,例如:http://localhost:8080/springboot-h2/h2-console
- console:
- enabled: true
- settings:
- # 开启h2 console 跟踪 方便调试 默认 false
- trace: true
- # 允许console 远程访问 默认false
- web-allow-others: true
- # h2 访问路径上下文
- path: /h2-console
- sql:
- init:
- schema-locations: classpath:schema.sql
- data-locations: classpath:data.sql
- mode: always
- continue-on-error: true
-
-
-# mybatis-plus 配置
-mybatis-plus:
- mapper-locations: classpath*:/com.muyu.mapper/**/*.xml
- #实体扫描,多个package用逗号或者分号分隔
- typeAliasesPackage: com.dmo.entity
- global-config:
- #数据库相关配置
- db-config:
- #主键类型 AUTO:"数据库ID自增", INPUT:"用户输入ID", ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID";
- id-type: AUTO
- #字段策略 IGNORED:"忽略判断",NOT_NULL:"非 NULL 判断"),NOT_EMPTY:"非空判断"
- field-strategy: NOT_NULL
- #驼峰下划线转换
- column-underline: true
- logic-delete-value: -1
- logic-not-delete-value: 0
- #原生配置
- configuration:
- # 打印sql
-# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
- map-underscore-to-camel-case: true
- cache-enabled: false
- call-setters-on-nulls: true
- jdbc-type-for-null: 'null'
-
# 日志输出配置
logging:
level:
diff --git a/src/main/resources/data.sql b/src/main/resources/data.sql
deleted file mode 100644
index e69de29..0000000
diff --git a/src/main/resources/schema.sql b/src/main/resources/schema.sql
deleted file mode 100644
index e69de29..0000000