03 2019 档案
Spring 之AOP AspectJ切入点语法详解
摘要:记录一下,以后学习 https://blog.csdn.net/zhengchao1991/article/details/53391244
ProceedingJoinPoint 某些方法记录一下
摘要:转载与百度知道,记录一下。遇到在去看API 官方文档//拦截的实体类 Object target = point.getTarget(); //拦截的方法名称 String methodName = point.getSignature().getName(); //拦截的方法参数 Object[]
SpringBoot 2.X以上集成redis
摘要:在网上看到的教程和资料大多数都是2.X以下的版本。使用起来会出现各种问题,通过百度,最后终于弄好了。 2.x以上使用的是 spring-boot-starter-data-redis 2.x一下使用的是 spring-boot-starter-redis <!-- https://mvnreposi
SpringBoot文件上传配置
摘要:/** * 文件上传配置 * @return */ @Bean public MultipartConfigElement multipartConfigElement() { MultipartConfigFactory factory = new MultipartConfigFactory()
editmd输出到前端显示
摘要:官方案例:html-preview-markdown-to-html.html 输出后台数据显示在前端,格式化内容<!DOCTYPE html> <html lang="zh" xmlns:th="http://www.thymeleaf.org"> <head> <meta charset="ut
Thymeleaf Shiro标签
摘要:记录一下 guest标签 <shiro:guest> </shiro:guest> 用户没有身份验证时显示相应信息,即游客访问信息。 user标签 <shiro:user> </shiro:user> 用户已经身份验证/记住我登录后显示相应的信息。 authenticated标签 <shiro:au
Springboot 添加druid监控
摘要:pom <dependency> <groupId>com.alibaba</groupId> <artifactId>druid</artifactId> <version>1.1.9</version> </dependency> yml spring: datasource: type: co
基于SpringBoot的博客项目
摘要:SpringBoot 博客系统 后端: 框架:SpringBoot 安全框架:shiro 数据库:mysql ORM:mybaits mybaits-plus 插件:lombok 模板引擎:thymeleaf 前端 前端框架:layui Jquery Markdown: editor.md layu
SpringBoot默认首页配置
摘要:@Configuration public class DefaultView extends WebMvcConfigurerAdapter { @Override public void addViewControllers(ViewControllerRegistry registry) {
当layui与分页相遇--bootstrap何去何从
摘要:用了一段时间,感觉layui比bootstrap 方便了很多。在js操作上比bootstrap减少了许多的代码量。 今天遇到需要前台分页。当然,不是表格,如果是表格的话。使用yalui table和bootstrap table都很简单。 但是今天是要随意分页。任意标签。 看了看官方文档。也不是很懂