摘要:
pom <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> <version>2.0.5.RELEASE</v 阅读全文
摘要:
什么是RabbitMQ就是一个队列 优点 1.提高系统响应速度 我们发送请求然后直接通过Rabbit获得响应不用看我们数据是否在数据库中查到了:如签票软件会你点击过后直接给你一个正在抢票的界面 2.提高系统稳定性 如果服务挂了不关紧要,如上面所述 3.服务异步调用 也如1.所述我们的响应和我们的反应 阅读全文
摘要:
来源博主写的非常详细在此借用: https://lixuekai.blog.csdn.net/article/details/64124330 阅读全文
摘要:
课程的Controller @RequestMapping(value="/queryCourses",method= RequestMethod.POST) public AjaxResult queryCourses(@RequestBody CourseQuery courseQuery){ 阅读全文
摘要:
官方网站:https://github.com/happyfish100/ 配置文档:https://github.com/happyfish100/fastdfs/wiki/ 参考资料:https://www.oschina.net/question/tag/fastdfs Java客户端:htt 阅读全文
摘要:
在微服务中我们需要在开启一个服务然后通过Fegin接口调用 pom导包 如果没有意外的话你的包是肯定导不了的,然后你需要去官方文档下载源码或者jar https://github.com/happyfish100/fastdfs-client-java <!--exclusions排除包--> <d 阅读全文
摘要:
看你前台需要什么样子的数据一般来说是一个包含兄弟节点的数据 /** * 做面包屑的查询,因为前端需要的数据为 * [{ * ownerProductType;{课程类型} * otherProductTypes:[{课程}] * }] * 所以我们需要封装一个字段 */ public class C 阅读全文
摘要:
我们现在需要把课程的分类做一个上下线的功能,在后台点击上线然后存入ES中,我们前端调用的使用就调用ES然后渲染界面 创建一个微服务 导入包pom <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-b 阅读全文
摘要:
打开Redis 再到Redis目录cmd redis-server.exe redis.windows.conf 然后在开一个窗口 redis-cli.exe -h 127.0.0.1 -p 6379 config get requirepass config set requirepass 123 阅读全文
摘要:
1.前端数据结构 return { data: [{ label: '一级 1', children: [{ label: '二级 1-1', children: [{ label: '三级 1-1-1' }] }] }, { View Code 2.我们需要封装前端数据 在Mybatis-Plus 阅读全文