会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
夏秋初的学习笔记
夏末秋初遇见最美好
博客园
首页
新随笔
订阅
管理
上一页
1
···
13
14
15
16
17
18
19
20
21
···
54
下一页
2023年6月17日
php交换两个变量的值,不使用第三个变量
摘要: ## 参考 - https://www.php.net/manual/zh/function.list.php ## 代码 ```php # 第一种 PHP 4, PHP 5, PHP 7, PHP 8 # 像 array() 一样,这不是真正的函数,而是语言结构。 list() 可以在单次操作内为
阅读全文
posted @ 2023-06-17 09:25 夏秋初
阅读(40)
评论(0)
推荐(0)
2023年5月16日
Laravel10 使用$model->fill($data = []) 快速填充模型数据
摘要: 参考 https://learnku.com/docs/laravel/10.x/eloquentmd/14888 chatgpt回答 环境 | 软件/系统 | 版本 | 说明 | | | | | | windows | 10 | | | php | 8.1.9-Win32-vs16-x64 | |
阅读全文
posted @ 2023-05-16 11:00 夏秋初
阅读(527)
评论(0)
推荐(0)
2023年5月9日
Laravel10 Auth 多用户(管理员、用户的区分)
摘要: 参考 https://learnku.com/docs/laravel/10.x/authenticationmd/14876#retrieving-the-authenticated-user 环境 | 软件/系统 | 版本 | 说明 | | | | | | windows | 10 | | |
阅读全文
posted @ 2023-05-09 09:48 夏秋初
阅读(498)
评论(0)
推荐(0)
2023年5月6日
【转载】JS手从URL中获取指定参数,不需要正则,很方便
摘要: 参考 https://zhuanlan.zhihu.com/p/412254881 代码 现代方式 在现代浏览器中,我们可以使用浏览器提供的URL对象来获取参数。 这里方法最简单,bug少,不用我们操心。 function getQueryString(name) { // const url =
阅读全文
posted @ 2023-05-06 17:28 夏秋初
阅读(45)
评论(0)
推荐(0)
2023年4月23日
【转载】PHP 箭头函数( Lambda表达式 )
摘要: 参考 箭头函数(php官方中文文档) Laravel10 集合 -- learnku 环境 | 软件/系统 | 版本 | 说明 | | | | | | windows | 10 | | | php | 8.2.5-nts-Win32-vs16-x64 | 箭头函数要求 >=7.4.0 | 备注 如果
阅读全文
posted @ 2023-04-23 16:49 夏秋初
阅读(479)
评论(0)
推荐(0)
2023年4月22日
Laravel10 API 简单使用 Auth 生成 Token 与登录并获取用户信息
摘要: 参考 https://learnku.com/docs/laravel/10.x/authenticationmd/14876 https://learnku.com/docs/laravel/10.x/sanctummd/14914 https://learnku.com/articles/396
阅读全文
posted @ 2023-04-22 11:25 夏秋初
阅读(2090)
评论(9)
推荐(0)
2023年4月14日
【水文】角色权限设计
摘要: 参考 角色权限设计的100种解法 最好的权限设计,是先区分功能权限和数据权限 若依 后台管理系统 备注 本文章仅仅思考了简单的功能权限与数据权限的实现,建议具体参考上面的引用链接进行学习。 表结构定义 users、rules、roles 表实现功能权限管理(如果单用户支持多角色,就需要配合 user
阅读全文
posted @ 2023-04-14 22:27 夏秋初
阅读(248)
评论(0)
推荐(0)
2023年3月26日
thinkpad l400 黑苹果装机记录
摘要: 环境 | 软件/系统 | 版本 | 说明 | | | | | | thinkpad | l440 i5 8g | | | EFI 引导 | | 下载 如果你的电脑和我的型号不同,也可以用镜像盘的 EFI文件 替代| | macos | macOS Catalina 10.15.6(19G2021)
阅读全文
posted @ 2023-03-26 12:44 夏秋初
阅读(766)
评论(0)
推荐(0)
2023年3月16日
【转载】2008R2 PostgreSQL 连接超时与报错 FATAL: no pg_hba.conf entry for host解决
摘要: 参考 https://blog.csdn.net/qq_36330643/article/details/72731316 PostgreSQL 连接问题 FATAL: no pg_hba.conf entry for host https://blog.csdn.net/CirtusSoda/ar
阅读全文
posted @ 2023-03-16 09:07 夏秋初
阅读(1992)
评论(0)
推荐(0)
2023年3月15日
2008R2安装SSH服务,支持远程命令行ssh登录2008R2
摘要: 参考 https://www.jianshu.com/p/b5b760bc56ff (主要参考) https://zhuanlan.zhihu.com/p/122999157 https://github.com/PowerShell/Win32-OpenSSH/releases (Win-Open
阅读全文
posted @ 2023-03-15 09:48 夏秋初
阅读(1307)
评论(0)
推荐(0)
上一页
1
···
13
14
15
16
17
18
19
20
21
···
54
下一页
公告