WebLinuxStudy

导航

 

2025年5月20日

摘要: 格式: artisan路径 PHP路径 artisan命令 例如: F:\phpstudy_pro\www\phpread> F:\phpstudy_pro\Extensions\php\php8.1.27nts\php artisan queue:work --queue=user_queue 阅读全文
posted @ 2025-05-20 20:26 WebLinuxStudy 阅读(20) 评论(0) 推荐(0)
 

2025年3月20日

摘要: SELECT * FROM users ORDER BY FIELD(status, 'active', 'pending', 'inactive');MYSQL 按指定字段值顺序显示结果 阅读全文
posted @ 2025-03-20 20:54 WebLinuxStudy 阅读(13) 评论(0) 推荐(0)
 

2025年2月20日

摘要: grep -c "成功" 20.log 阅读全文
posted @ 2025-02-20 20:31 WebLinuxStudy 阅读(23) 评论(0) 推荐(0)
 
摘要: wc -l 20.log 阅读全文
posted @ 2025-02-20 20:30 WebLinuxStudy 阅读(8) 评论(0) 推荐(0)
 

2024年11月5日

摘要: 年化率 = (还款金额 / 本金) / 78 * 144 阅读全文
posted @ 2024-11-05 16:19 WebLinuxStudy 阅读(102) 评论(0) 推荐(0)
 

2024年8月2日

摘要: use Illuminate\Support\Facades\Redis; 1、集合添加Redis::sadd('redisKey', 'item1'); 2、判断集合中是否存在某个值Redis::sismember('redisKey', 'item1'); 3、集合个数Redis::scard( 阅读全文
posted @ 2024-08-02 17:33 WebLinuxStudy 阅读(38) 评论(0) 推荐(0)
 

2024年5月30日

摘要: <?php $host = ''; $port = ''; $password = ''; $database = 0; $value = ''; try { $redis = new redis(); $redis->connect($host, $port); if ($password !== 阅读全文
posted @ 2024-05-30 18:36 WebLinuxStudy 阅读(11) 评论(0) 推荐(0)
 

2024年5月17日

摘要: 设置nginx允许跨域 阅读全文
posted @ 2024-05-17 18:09 WebLinuxStudy 阅读(124) 评论(0) 推荐(0)
 

2024年3月8日

摘要: 解决办法参考网址: https://blog.csdn.net/qq_22701869/article/details/107539711 其中: <<<<<<< Updated upstream 到 之间的代码是你拉取的远程分支的代码; 到 >>>>>>> Stashed changes 之间的代 阅读全文
posted @ 2024-03-08 18:43 WebLinuxStudy 阅读(470) 评论(0) 推荐(0)
 

2023年11月13日

摘要: <?phpdate_default_timezone_set("Asia/Shanghai"); list($uSecond, $second) = explode(' ', microtime());echo sprintf('%d%d', $second, (int)($uSecond * 10 阅读全文
posted @ 2023-11-13 17:38 WebLinuxStudy 阅读(274) 评论(0) 推荐(0)