上一页 1 ··· 126 127 128 129 130 131 132 133 134 ··· 168 下一页
摘要: 一,安装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 刘宏缔的架构森林 阅读(855) 评论(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 刘宏缔的架构森林 阅读(1529) 评论(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 刘宏缔的架构森林 阅读(486) 评论(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 刘宏缔的架构森林 阅读(1569) 评论(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 刘宏缔的架构森林 阅读(1173) 评论(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 刘宏缔的架构森林 阅读(1730) 评论(0) 推荐(0)
摘要: 一,使用bcrypt实现加密和验证的php代码: class Auth extends BaseController { /* *测试用bcrypt方式验证密码 * *@return \think\Response * */ public function testPass() { //原始密码 $ 阅读全文
posted @ 2022-01-12 18:55 刘宏缔的架构森林 阅读(1535) 评论(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 刘宏缔的架构森林 阅读(248) 评论(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 刘宏缔的架构森林 阅读(367) 评论(0) 推荐(0)
摘要: 一,安装firebase/php-jwt扩展: 1,命令: liuhongdi@lhdpc:/data/php/admapi$ composer require firebase/php-jwt 2,安装成功后的位置: 3,查看firebase/php-jwt的版本: liuhongdi@lhdpc 阅读全文
posted @ 2022-01-07 22:05 刘宏缔的架构森林 阅读(2462) 评论(2) 推荐(0)
上一页 1 ··· 126 127 128 129 130 131 132 133 134 ··· 168 下一页