10 2020 档案

摘要:minPriceList.stream().sorted(Comparator.comparing(l -> l.getCreateDate(), Comparator.nullsLast(Date::compareTo))).findFirst().get(); List<EnterpriseRa 阅读全文
posted @ 2020-10-23 10:01 刘百会 阅读(3971) 评论(0) 推荐(0) 编辑
摘要:实现思路: 用户登录请求登录接口时,验证用户名密码等,验证成功会返回给前端一个token,这个token就是之后鉴权的唯一凭证。 后台可能将token存储在redis或者数据库中。 之后前端的请求,需要在header中携带token,后端取出token去redis或者数据库中进行验证,如果验证通过则 阅读全文
posted @ 2020-10-20 10:53 刘百会 阅读(2671) 评论(0) 推荐(0) 编辑
摘要:git clone http://github.com/large-repository --depth=1 $ cd large-repository $ git fetch --unshallow 阅读全文
posted @ 2020-10-19 10:48 刘百会 阅读(1151) 评论(0) 推荐(0) 编辑
摘要:多人开发时,会出现明明在gitignore中忽略了.idea文件夹,但是提交时仍旧会出现.idea内文件变动的情况 原因.idea已经被git跟踪,之后再加入.gitignore后是没有作用的 解决办法清除.idea的git缓存 git rm -r --cached .idea .gitignore 阅读全文
posted @ 2020-10-17 10:11 刘百会 阅读(252) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示