上一页 1 ··· 137 138 139 140 141 142 143 144 145 ··· 179 下一页
摘要: 一,thinkphp6配置强制路由: 1,修改config/route.php 设置url_route_must一项的值为true 如下: // 是否强制使用路由 //'url_route_must' => false, 'url_route_must' => true, 2,查看修改后的效果: 访 阅读全文
posted @ 2022-01-15 10:50 刘宏缔的架构森林 阅读(1586) 评论(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 刘宏缔的架构森林 阅读(1185) 评论(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 刘宏缔的架构森林 阅读(1755) 评论(0) 推荐(0)
摘要: 一,使用bcrypt实现加密和验证的php代码: class Auth extends BaseController { /* *测试用bcrypt方式验证密码 * *@return \think\Response * */ public function testPass() { //原始密码 $ 阅读全文
posted @ 2022-01-12 18:55 刘宏缔的架构森林 阅读(1550) 评论(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 刘宏缔的架构森林 阅读(255) 评论(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 刘宏缔的架构森林 阅读(376) 评论(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 刘宏缔的架构森林 阅读(2489) 评论(2) 推荐(0)
摘要: 一,vue前端代码 1,Login.vue <template> <div style="padding:20px;display: flex;align-items:center;justify-content: center;"> <form :model="account" style="ma 阅读全文
posted @ 2022-01-07 21:33 刘宏缔的架构森林 阅读(1094) 评论(0) 推荐(0)
摘要: 一,创建command 1,创建command liuhongdi@lhdpc:/data/php/admapi$ php think make:command SetOrderStatus setorderstatus Command:app\command\SetOrderStatus crea 阅读全文
posted @ 2022-01-05 21:39 刘宏缔的架构森林 阅读(1329) 评论(0) 推荐(0)
摘要: 一,查看线上所有的库: liuhongdi@lhdpc:/data/php/admapi$ composer show --all 查询时间较长,一般不必要 说明:刘宏缔的架构森林是一个专注架构的博客, 网站:https://blog.imgtouch.com本文: https://blog.img 阅读全文
posted @ 2022-01-05 21:28 刘宏缔的架构森林 阅读(177) 评论(0) 推荐(0)
上一页 1 ··· 137 138 139 140 141 142 143 144 145 ··· 179 下一页