# layuiadmin-springboot **Repository Path**: min-character/layuiadmin-springboot ## Basic Information - **Project Name**: layuiadmin-springboot - **Description**: springboot版layuiadmin - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 4 - **Created**: 2024-11-05 - **Last Updated**: 2024-11-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # layuiadmin-springboot #### 项目介绍 springboot版layuiadmin #### 软件架构 软件架构说明 1. 后端使用技术 1.1 springboot 1.2 jpa 1.3 ehcache 2. 前端使用技术 2.1 layui admin 2.2 bootstrap-table #### 安装教程 1. xxxx 2. xxxx 3. xxxx #### 使用说明 1. xxxx 2. xxxx 3. xxxx ### 更新说明 1. 自定义分页baseService 2. springboot 集成shiro ,并增加全段权限页面功能 3. springboot 集成ehcache 4. 集成jpa 5. 添加jpa二级缓存,并使用ehcache 6. 前端更改表单为bootstrap-table 7. 添加用户菜单,添加角色管理模块 8. 添加shiro多处唯一登录验证 ## beetl自定义 1 BeetlConf 自定义beetl配置, 主要是定义标签路径 ``` @Configuration public class BeetlConf { public static final String BEETLCONF_PREFIX = "beetl"; @Value("${beetl.templatesPath}") private String templatesPath; @Value("${beetl.tagroot}") private String tagroot; @Value("${beetl.tagsuffix}") private String tagsuffix; public Properties getBeetlProperties() { Properties properties = new Properties(); if (StringUtils.isNotEmpty(tagroot)) { properties.setProperty("RESOURCE.tagRoot", tagroot); } if (StringUtils.isNotEmpty(tagsuffix)) { properties.setProperty("RESOURCE.tagSuffix", tagsuffix); } return properties; } @Bean(name = "beetlConfig") public BeetlGroupUtilConfiguration getBeetlGroupUtilConfiguration() { BeetlGroupUtilConfiguration beetlGroupUtilConfiguration = new BeetlGroupUtilConfiguration(); // 获取Spring Boot 的ClassLoader ClassLoader loader = Thread.currentThread().getContextClassLoader(); if (loader == null) { loader = BeetlConf.class.getClassLoader(); } beetlGroupUtilConfiguration.setConfigProperties(getBeetlProperties());// 额外的配置,可以覆盖默认配置,一般不需要 ClasspathResourceLoader cploder = new ClasspathResourceLoader(loader, templatesPath); beetlGroupUtilConfiguration.setResourceLoader(cploder); beetlGroupUtilConfiguration.init(); // 如果使用了优化编译器,涉及到字节码操作,需要添加ClassLoader beetlGroupUtilConfiguration.getGroupTemplate().setClassLoader(loader); return beetlGroupUtilConfiguration; } } ``` #### 参与贡献 1. Fork 本项目 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 码云特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目 5. 码云官方提供的使用手册 [http://git.mydoc.io/](http://git.mydoc.io/) 6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)