07 2021 档案

摘要:JWT是什么 JWT是json web token缩写。它将用户信息加密到token里,服务器不保存任何用户信息。服务器通过使用保存的密钥验证token的正确性,只要正确即通过验证。基于token的身份验证可以替代传统的cookie+session身份验证方法。 JWT由三个部分组成:header. 阅读全文
posted @ 2021-07-26 16:25 雲夜 阅读(608) 评论(0) 推荐(0)
摘要:转自:https://learnku.com/articles/2020/ten-laravel-5-program-optimization-techniques 阅读全文
posted @ 2021-07-22 17:14 雲夜 阅读(60) 评论(0) 推荐(0)
摘要:一、使用where方法进行时间的比较查询 where(‘create_time’,’> time’,’2019-1-1′); // 大于某个时间 where(‘create_time’,'<= time’,’2019-1-1′); // 小于某个时间 where(‘create_time’,’bet 阅读全文
posted @ 2021-07-22 17:02 雲夜 阅读(976) 评论(0) 推荐(0)
摘要:安装nginx dnf install nginx chown -R nginx:nginx /usr/share/nginx/html #启动nginx systemctl start nginx systemctl enable nginx 配置nginx 1.运行以下命令查看Nginx配置文件 阅读全文
posted @ 2021-07-16 22:08 雲夜 阅读(278) 评论(0) 推荐(0)