微小Web 支持只连接业务库,不使用自带sys表
This commit is contained in:
@@ -34,7 +34,7 @@ import com.jeesite.modules.sys.service.ConfigService;
|
|||||||
*/
|
*/
|
||||||
@Controller
|
@Controller
|
||||||
@RequestMapping(value = "${adminPath}/sys/config")
|
@RequestMapping(value = "${adminPath}/sys/config")
|
||||||
@ConditionalOnProperty(name="web.core.enabled", havingValue="true", matchIfMissing=true)
|
@ConditionalOnProperty(name={"config.enabled","web.core.enabled"}, havingValue="true", matchIfMissing=true)
|
||||||
@Hidden
|
@Hidden
|
||||||
public class ConfigController extends BaseController {
|
public class ConfigController extends BaseController {
|
||||||
|
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ import java.util.Map;
|
|||||||
*/
|
*/
|
||||||
@Controller
|
@Controller
|
||||||
@RequestMapping(value = "${adminPath}/sys/dictData")
|
@RequestMapping(value = "${adminPath}/sys/dictData")
|
||||||
@ConditionalOnProperty(name="web.core.enabled", havingValue="true", matchIfMissing=true)
|
@ConditionalOnProperty(name={"config.enabled","web.core.enabled"}, havingValue="true", matchIfMissing=true)
|
||||||
@Hidden
|
@Hidden
|
||||||
public class DictDataController extends BaseController {
|
public class DictDataController extends BaseController {
|
||||||
|
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ import java.util.Map;
|
|||||||
*/
|
*/
|
||||||
@Controller
|
@Controller
|
||||||
@RequestMapping(value = "${adminPath}/sys/dictType")
|
@RequestMapping(value = "${adminPath}/sys/dictType")
|
||||||
@ConditionalOnProperty(name="web.core.enabled", havingValue="true", matchIfMissing=true)
|
@ConditionalOnProperty(name={"config.enabled","web.core.enabled"}, havingValue="true", matchIfMissing=true)
|
||||||
@Hidden
|
@Hidden
|
||||||
public class DictTypeController extends BaseController {
|
public class DictTypeController extends BaseController {
|
||||||
|
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ import java.util.List;
|
|||||||
*/
|
*/
|
||||||
@Controller
|
@Controller
|
||||||
@RequestMapping(value = "${adminPath}/sys/module")
|
@RequestMapping(value = "${adminPath}/sys/module")
|
||||||
@ConditionalOnProperty(name="web.core.enabled", havingValue="true", matchIfMissing=true)
|
@ConditionalOnProperty(name={"config.enabled","web.core.enabled"}, havingValue="true", matchIfMissing=true)
|
||||||
@Hidden
|
@Hidden
|
||||||
public class ModuleController extends BaseController {
|
public class ModuleController extends BaseController {
|
||||||
|
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ jdbc:
|
|||||||
# # Mysql 数据库配置
|
# # Mysql 数据库配置
|
||||||
# type: mysql
|
# type: mysql
|
||||||
# driver: com.mysql.cj.jdbc.Driver
|
# driver: com.mysql.cj.jdbc.Driver
|
||||||
# url: jdbc:mysql://127.0.0.1:3306/jeesite_v5?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=CONVERT_TO_NULL&serverTimezone=Asia/Shanghai
|
# url: jdbc:mysql://127.0.0.1:3306/jeesite_mini?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=CONVERT_TO_NULL&serverTimezone=Asia/Shanghai
|
||||||
# username: root
|
# username: root
|
||||||
# password: 123456
|
# password: 123456
|
||||||
# testSql: SELECT 1
|
# testSql: SELECT 1
|
||||||
@@ -114,7 +114,11 @@ adminPath: /a
|
|||||||
# 前端基础路径
|
# 前端基础路径
|
||||||
frontPath: /f
|
frontPath: /f
|
||||||
|
|
||||||
# 用户权限相关
|
# 配置相关功能(参数、模块、字典)
|
||||||
|
config:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
|
# 用户权限相关(用户、角色、菜单)
|
||||||
user:
|
user:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user