会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
夏秋初的学习笔记
夏末秋初遇见最美好
博客园
首页
新随笔
订阅
管理
上一页
1
···
11
12
13
14
15
16
17
18
19
···
53
下一页
2023年7月24日
【URLSearchParams】js将对象转换为url get 参数
摘要: ## 参考 - chatgpt ## 代码 ```js const myObj = { name: 'John', age: 30, city: 'New York' }; const params = new URLSearchParams(myObj); const urlParams = pa
阅读全文
posted @ 2023-07-24 09:29 夏秋初
阅读(297)
评论(0)
推荐(0)
2023年7月22日
NativePHP Beta 已发布
摘要: ## 参考 - https://learnku.com/articles/82569 - https://nativephp.com/ ## 正文 > php做客户端 
评论(0)
推荐(0)
2023年7月2日
print-js 实现页面打印PDF,与样式缺失问题
摘要: ## 参考 - https://blog.csdn.net/qq_36990322/article/details/105786298 (样式继承问题) - https://blog.csdn.net/qq_42571665/article/details/127277049 (宽度配置) ## 说
阅读全文
posted @ 2023-07-02 14:55 夏秋初
阅读(3164)
评论(0)
推荐(0)
dayjs 实现秒转时分秒格式。
摘要: 参考 https://dayjs.fenxianglu.cn/ chatgpt 环境 软件/系统 版本 说明 dayjs ^1.11.9 步骤 安装yarn add dayjs 引入// var dayjs = require('dayjs') import dayjs from 'dayjs' /
阅读全文
posted @ 2023-07-02 14:48 夏秋初
阅读(7221)
评论(0)
推荐(1)
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 夏秋初
阅读(33)
评论(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 夏秋初
阅读(509)
评论(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 夏秋初
阅读(483)
评论(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 夏秋初
阅读(35)
评论(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 夏秋初
阅读(469)
评论(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 夏秋初
阅读(2059)
评论(9)
推荐(0)
上一页
1
···
11
12
13
14
15
16
17
18
19
···
53
下一页
公告