上一页 1 ··· 160 161 162 163 164 165 166 167 168 ··· 203 下一页
摘要: 一,安装js-md5 1,用npm安装 liuhongdi@lhdpc:/data/vue/demo1$ npm install --save js-md5 added 1 package in 5s 21 packages are looking for funding run `npm fund 阅读全文
posted @ 2022-01-21 21:39 刘宏缔的架构森林 阅读(3255) 评论(0) 推荐(0)
摘要: 一,安装ImageMagick库: 1,apt-get安装 root@lhdpc:~# apt-get install imagemagick 2,查看版本: root@lhdpc:~# convert --version Version: ImageMagick 6.9.11-60 Q16 x86 阅读全文
posted @ 2022-01-17 21:33 刘宏缔的架构森林 阅读(912) 评论(0) 推荐(0)
摘要: 一,安装phpshpreadsheet 1,composer安装 liuhongdi@lhdpc:~$ cd /data/php/admapi/ liuhongdi@lhdpc:/data/php/admapi$ composer require phpoffice/phpspreadsheet 2 阅读全文
posted @ 2022-01-17 21:14 刘宏缔的架构森林 阅读(1576) 评论(0) 推荐(0)
摘要: 一,创建过滤IP的中间件 1,创建: liuhongdi@lhdpc:/data/php/admapi$ php think make:middleware CheckIp Middleware:app\middleware\CheckIp created successfully. 2,代码: m 阅读全文
posted @ 2022-01-15 10:59 刘宏缔的架构森林 阅读(529) 评论(0) 推荐(0)
摘要: 一,thinkphp6配置强制路由: 1,修改config/route.php 设置url_route_must一项的值为true 如下: // 是否强制使用路由 //'url_route_must' => false, 'url_route_must' => true, 2,查看修改后的效果: 访 阅读全文
posted @ 2022-01-15 10:50 刘宏缔的架构森林 阅读(1665) 评论(0) 推荐(0)
摘要: 一,qr-code代码库的地址: https://github.com/endroid/qr-code 说明:刘宏缔的架构森林是一个专注架构的博客, 网站:https://blog.imgtouch.com本文: https://blog.imgtouch.com/index.php/2023/05 阅读全文
posted @ 2022-01-15 10:41 刘宏缔的架构森林 阅读(1228) 评论(0) 推荐(0)
摘要: 一,编写php代码: 1,创建写日志的middleware: liuhongdi@lhdpc:/data/php/admapi$ php think make:middleware AdminLog Middleware:app\middleware\AdminLog created success 阅读全文
posted @ 2022-01-15 10:30 刘宏缔的架构森林 阅读(1805) 评论(0) 推荐(0)
摘要: 一,使用bcrypt实现加密和验证的php代码: class Auth extends BaseController { /* *测试用bcrypt方式验证密码 * *@return \think\Response * */ public function testPass() { //原始密码 $ 阅读全文
posted @ 2022-01-12 18:55 刘宏缔的架构森林 阅读(1604) 评论(0) 推荐(0)
摘要: 一,访问yac的php代码: 1,创建controller liuhongdi@lhdpc:/data/php/admapi$ php think make:controller Yac Controller:app\controller\Yac created successfully. 2,co 阅读全文
posted @ 2022-01-12 18:50 刘宏缔的架构森林 阅读(274) 评论(0) 推荐(0)
摘要: 一,关于yac项目: 1,代码地址 https://github.com/laruence/yac 2,鸟哥博客上的介绍: https://www.laruence.com/tag/yac 说明:刘宏缔的架构森林是一个专注架构的博客, 网站:https://blog.imgtouch.com本文:  阅读全文
posted @ 2022-01-12 18:44 刘宏缔的架构森林 阅读(417) 评论(0) 推荐(0)
上一页 1 ··· 160 161 162 163 164 165 166 167 168 ··· 203 下一页