diff --git a/modules/core/src/main/resources/config/jeesite-core.yml b/modules/core/src/main/resources/config/jeesite-core.yml index 2811e299..2f995109 100644 --- a/modules/core/src/main/resources/config/jeesite-core.yml +++ b/modules/core/src/main/resources/config/jeesite-core.yml @@ -128,6 +128,9 @@ logging: # MyBatis 相关 mybatis: + # MyBatis 配置文件 + #configLocation: /mybatis/mybatis-config.xml + # @MyBatisDao 扫描基础包,如果多个,用“,”分隔 #scanBasePackage: com.jeesite.modules.**.dao diff --git a/web-mini/pom.xml b/web-mini/pom.xml index 2f08641e..b958df5b 100644 --- a/web-mini/pom.xml +++ b/web-mini/pom.xml @@ -23,7 +23,7 @@ web com.jeesite.modules.MiniApplication - + 8980:8980 diff --git a/web-mini/src/main/resources/config/application.yml b/web-mini/src/main/resources/config/application.yml index 25ad9d1b..ae903edb 100644 --- a/web-mini/src/main/resources/config/application.yml +++ b/web-mini/src/main/resources/config/application.yml @@ -57,7 +57,7 @@ jdbc: # # Mysql 数据库配置 # type: mysql # driver: com.mysql.cj.jdbc.Driver -# url: jdbc:mysql://127.0.0.1:3306/jeesite_v5?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=CONVERT_TO_NULL&serverTimezone=Asia/Shanghai +# url: jdbc:mysql://127.0.0.1:3306/jeesite_mini?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=CONVERT_TO_NULL&serverTimezone=Asia/Shanghai # username: root # password: 123456 # testSql: SELECT 1 @@ -108,6 +108,17 @@ spring: # 日志配置 logging: config: classpath:config/logback-spring.xml + +# MyBatis 相关 +mybatis: + + # MyBatis 配置文件 + configLocation: /mybatis/mybatis-default.xml + + # Mapper文件刷新线程 + mapper: + refresh: + enabled: false # 管理基础路径 adminPath: /a @@ -115,7 +126,11 @@ adminPath: /a # 前端基础路径 frontPath: /f -# 用户权限相关 +# 配置相关功能(参数、模块、字典) +config: + enabled: false + +# 用户权限相关(用户、角色、菜单) user: enabled: false @@ -133,7 +148,6 @@ gen: # 系统监控(默认开启,可关闭)访问地址如下: # 服务监控:http://127.0.0.1:8980/js/a/state/server/index -# 缓存监控:http://127.0.0.1:8980/js/a/state/cache/index state: enabled: true @@ -147,19 +161,14 @@ web: mobile: enabled: false - # 是否启用核心内置功能的Controller加载 + # 核心模块的Web功能开启 core: enabled: false - + # 在线API文档工具 - swagger: + swagger: enabled: false -# Mapper文件刷新线程 -mybatis: - mapper: - refresh: - enabled: false # 文件上传 file: diff --git a/web-mini/src/main/resources/config/logger-core.xml b/web-mini/src/main/resources/config/logger-core.xml deleted file mode 100644 index a57f1dd0..00000000 --- a/web-mini/src/main/resources/config/logger-core.xml +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/web-mini/src/main/resources/mybatis/mybatis-config.xml b/web-mini/src/main/resources/mybatis/mybatis-config.xml deleted file mode 100644 index b1a85c8f..00000000 --- a/web-mini/src/main/resources/mybatis/mybatis-config.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/web-mini/src/main/resources/static/common/common.css b/web-mini/src/main/resources/static/common/common.css deleted file mode 100644 index f94b7e40..00000000 --- a/web-mini/src/main/resources/static/common/common.css +++ /dev/null @@ -1,5 +0,0 @@ -/*! - * Copyright (c) 2013-Now http://jeesite.com All rights reserved. - * No deletion without permission, or be held responsible to law. - * 项目自定义的公共CSS,可覆盖jeesite.css里的样式 - */ diff --git a/web-mini/src/main/resources/static/common/common.js b/web-mini/src/main/resources/static/common/common.js deleted file mode 100644 index 14bccc01..00000000 --- a/web-mini/src/main/resources/static/common/common.js +++ /dev/null @@ -1,5 +0,0 @@ -/*! - * Copyright (c) 2013-Now http://jeesite.com All rights reserved. - * No deletion without permission, or be held responsible to law. - * 项目自定义的公共JavaScript,可覆盖jeesite.js里的方法 - */ diff --git a/web-mini/src/main/resources/views/include/jslibs.html b/web-mini/src/main/resources/views/include/jslibs.html index b8a440bd..55b010ab 100644 --- a/web-mini/src/main/resources/views/include/jslibs.html +++ b/web-mini/src/main/resources/views/include/jslibs.html @@ -45,4 +45,4 @@ <% } %> - +