![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Spring
文章平均质量分 80
zzkeung
Action Speak Louder Than Words
展开
-
MongoDB 入门教程
一.下载1.MongoDB2.MongoDB Compass(MongoDB的客户端)二.安装1.MongoDB2.MongoDB Compass三.Compass连接MongoDB1.创建MongoDB数据库连接2.创建数据库四.Spring整合MongoDB1.添加依赖2.修改application.yml配置3.添加文档对象MProduct...原创 2020-02-28 14:53:29 · 275 阅读 · 0 评论 -
Elasticsearch 入门教程
1.下载2.安装3.Spring整合Elasticsearch4.ES注解5.接口测试1.下载Elasticsearch:https://www.elastic.co/cn/downloads/past-releases/elasticsearch-6-6-2Kibana(Elasticsearch的客户端):https://www.elastic.co/cn/do...原创 2020-02-27 16:23:32 · 440 阅读 · 0 评论 -
SpringTask实现定时任务
1.Cron表达式2.Scheduled其他参数(fixedDelay、fixedRate、initialDelay )3.整合SpringTask4.定时任务1.Cron表达式Cron表达式是一个字符串,字符串以5或6个空格隔开,分为6或7个域,每一个域代表一个含义,有如下两种语法格式:1.Seconds Minutes Hours DayofMonth Mont...原创 2020-02-25 16:36:35 · 395 阅读 · 0 评论 -
Swagger-UI入门教程
目录1.添加依赖2.添加配置3.代码演示4.文档效果5.注解说明1.添加依赖<!--Swagger-UI API文档生产工具--><dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artif...原创 2020-02-25 10:34:21 · 439 阅读 · 0 评论 -
Spring——自定义注解
1.参数注解注解/** * 字段参数注解 * * @author A.keung * 2019/8/30 0030 * @Constraint 通过使用validatedBy指定与注解关联的验证器 */@Target(ElementType.FIELD)@Retention(RetentionPolicy.RUNTIME)@Constraint(validatedBy =...原创 2019-09-02 14:17:07 · 340 阅读 · 0 评论