上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 18 下一页
摘要: 生产者类: package com..helloworld;import com..utils.RabbitConstant;import com..utils.RabbitUtils;import com.rabbitmq.client.Channel;import com.rabbitmq.cl 阅读全文
posted @ 2021-01-20 16:52 Li&Fan 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 转自图灵-白起 几种工作模式供用到两个jar: <dependency> <groupId>com.rabbitmq</groupId> <artifactId>amqp-client</artifactId> <version>5.3.0</version> </dependency> <depe 阅读全文
posted @ 2021-01-20 16:37 Li&Fan 阅读(359) 评论(0) 推荐(0) 编辑
摘要: ElasticSearch: https://mp.weixin.qq.com/mp/appmsgalbum?__biz=MzI1NDY0MTkzNQ==&action=getalbum&album_id=1591614521561923586&scene=173&from_msgid=224749 阅读全文
posted @ 2021-01-18 14:16 Li&Fan 阅读(80) 评论(0) 推荐(0) 编辑
摘要: 场景:3秒时间内禁止重复提交! Controller: 伪代码 package com..aopCommit; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web. 阅读全文
posted @ 2021-01-15 17:57 Li&Fan 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 转自(https://www.cnblogs.com/xzsj/p/13539628.html) 前端比较流行的 UI 框架 目前前端用的比较多的框架有如下几个 Ant Design:Ant Design - 一套企业级 UI 设计语言和 React 组件库 Mint UI:https://mint 阅读全文
posted @ 2021-01-13 14:56 Li&Fan 阅读(907) 评论(0) 推荐(0) 编辑
摘要: 示例环境: Spring Boot JDK1.8.0_131 apache-maven-3.5.4 nginx-1.14.2 redis-3.2.1 1.Controller : package com..redlock; import org.springframework.beans.facto 阅读全文
posted @ 2021-01-13 10:59 Li&Fan 阅读(1597) 评论(0) 推荐(0) 编辑
摘要: 项目结构: application.properties 文件配置: ##Jpa配置 spring.jpa.database=mysql spring.jpa.show-sql=true spring.jpa.hibernate.ddl-auto=none ##数据库配置 ##数据库acnew地址 阅读全文
posted @ 2021-01-08 18:55 Li&Fan 阅读(3001) 评论(0) 推荐(0) 编辑
摘要: 1.创建一个DefinitionRegistryPostProcessor : package com..aop_mybatis; import org.springframework.beans.BeansException; import org.springframework.beans.fa 阅读全文
posted @ 2021-01-08 17:07 Li&Fan 阅读(7150) 评论(0) 推荐(1) 编辑
摘要: controller层: package com..aop_mybatis.controller; import com..aop_mybatis.entity.AopExsInfo; import com..aop_mybatis.mapper.AopExsInfoMapper; import o 阅读全文
posted @ 2021-01-08 16:37 Li&Fan 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 1.先导入相关依赖: <!-- mysql:MyBatis相关依赖 --> <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> <ve 阅读全文
posted @ 2020-12-03 11:31 Li&Fan 阅读(143) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 18 下一页