会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
刘百会
需要沟通的可以加我微信:liubaihui45
博客园
首页
新随笔
联系
管理
上一页
1
···
14
15
16
17
18
19
20
21
22
23
下一页
2020年10月20日
SpringBoot使用token简单鉴权的具体实现方法
摘要: 实现思路: 用户登录请求登录接口时,验证用户名密码等,验证成功会返回给前端一个token,这个token就是之后鉴权的唯一凭证。 后台可能将token存储在redis或者数据库中。 之后前端的请求,需要在header中携带token,后端取出token去redis或者数据库中进行验证,如果验证通过则
阅读全文
posted @ 2020-10-20 10:53 刘百会
阅读(2758)
评论(0)
推荐(0)
2020年10月19日
git文件太大,拉去不下来
摘要: git clone http://github.com/large-repository --depth=1 $ cd large-repository $ git fetch --unshallow
阅读全文
posted @ 2020-10-19 10:48 刘百会
阅读(1176)
评论(0)
推荐(0)
2020年10月17日
git 忽略 .idea文件
摘要: 多人开发时,会出现明明在gitignore中忽略了.idea文件夹,但是提交时仍旧会出现.idea内文件变动的情况 原因.idea已经被git跟踪,之后再加入.gitignore后是没有作用的 解决办法清除.idea的git缓存 git rm -r --cached .idea .gitignore
阅读全文
posted @ 2020-10-17 10:11 刘百会
阅读(268)
评论(0)
推荐(0)
2020年8月27日
nacos安装配置和部署教程
摘要: nacos安装配置和部署教程 首先说明:次教程是针对的nacos版本:1.3.2,不同的版本,可能略有不同。 Nacos支持三种部署模式 单机模式 - 用于测试和单机试用。 集群模式 - 用于生产环境,确保高可用。 多集群模式 - 用于多数据中心场景。 单机部署: 1、首先去官网下载nacos ht
阅读全文
posted @ 2020-08-27 08:47 刘百会
阅读(22412)
评论(3)
推荐(0)
2020年8月6日
springcloudstream整合rabbitmq
摘要: 1、通过docker安装ribbitmq 拉取镜像docker pull rabbitmq:3.8.6-management运行镜像docker run -d --name rabbitmq -p 5672:5672 -p 15672:15672 --hostname myRabbit -e RAB
阅读全文
posted @ 2020-08-06 09:10 刘百会
阅读(1401)
评论(0)
推荐(0)
2020年8月4日
Springboot整合swagger2
摘要: springboot整合swagger2
阅读全文
posted @ 2020-08-04 16:42 刘百会
阅读(205)
评论(0)
推荐(0)
2020年4月17日
git命令详解,git学习
摘要: git常用命令学习,git基础命令,git原理分析 一:常用命令 git config --global user.name "John Doe"git config --global user.email johndoe@example.com git config --list 查看配置 git
阅读全文
posted @ 2020-04-17 15:04 刘百会
阅读(160)
评论(0)
推荐(0)
2020年3月4日
Mybatis 注解开发传入List 两种方式接收方式 在IN场景中
摘要: 1.在@Select中 @Select("<script>" + "SELECT IDFA FROM t_xxx WHERE IDFA IN " + "<foreach item='item' index='index' collection='strList' open='(' separator
阅读全文
posted @ 2020-03-04 16:14 刘百会
阅读(3430)
评论(0)
推荐(0)
2020年2月25日
java 根据时间段查询数据库
摘要: 在写按时间段查询的sql语句的时候 一般我们会这么写查询条件: where date>='2010-01-01' and date<='2010-10-1'。 但是在实执行Sql时些语句会转换成这样: where date>='2010-01-01 0:00:00' and date<='2010-
阅读全文
posted @ 2020-02-25 17:41 刘百会
阅读(6862)
评论(0)
推荐(0)
2020年1月10日
stream分页
摘要: List<AccessAreaVo> areaVo = vos.stream() .skip(pageable.getPageSize() * (pageable.getPageNumber() - 1)) .limit(pageable.getPageSize()).collect(Collect
阅读全文
posted @ 2020-01-10 18:37 刘百会
阅读(1423)
评论(0)
推荐(0)
上一页
1
···
14
15
16
17
18
19
20
21
22
23
下一页
公告