上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 91 下一页
摘要: 一,相关文档 https://learnku.com/docs/laravel/10.x/database/14882#2cd405 二,php代码 1,编辑.env DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=gon 阅读全文
posted @ 2023-10-24 08:31 刘宏缔的架构森林 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 一,相关文档 https://learnku.com/docs/laravel/10.x/middleware/14846 二,php代码 1,middleware 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 < 阅读全文
posted @ 2023-10-23 14:19 刘宏缔的架构森林 阅读(64) 评论(0) 推荐(0) 编辑
摘要: 一,相关文档: https://learnku.com/docs/laravel/10.x/http-tests/14896 二,php代码: 1,创建test程序 liuhongdi@lhdpc:/data/laravel/dignews$ php artisan make:test NewsTe 阅读全文
posted @ 2023-10-23 12:35 刘宏缔的架构森林 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 一,相关文档: https://learnku.com/docs/laravel/10.x/blade/14852 二,创建controller和view 1,创建controller liuhongdi@lhdpc:/data/laravel/dignews$ php artisan make:c 阅读全文
posted @ 2023-10-23 08:32 刘宏缔的架构森林 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 一,相关文档: https://learnku.com/docs/laravel/10.x/routing/14845 二,查看所有注册的路由 1,查看路由: liuhongdi@lhdpc:/data/laravel/dignews$ php artisan route:list GET|HEAD 阅读全文
posted @ 2023-10-23 08:28 刘宏缔的架构森林 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 一,相关文档 https://learnku.com/docs/laravel/10.x/artisan/14859 二,php代码 1,创建command liuhongdi@lhdpc:/data/laravel/dignews$ php artisan make:command Cart IN 阅读全文
posted @ 2023-10-23 08:25 刘宏缔的架构森林 阅读(68) 评论(0) 推荐(0) 编辑
摘要: 一,相关文档: https://learnku.com/docs/laravel/10.x/providers/14843 二,php代码: 1,业务代码: App\extend\mall\GoodsInterface.php 1 2 3 4 5 6 7 <?php namespace App\ex 阅读全文
posted @ 2023-10-22 10:42 刘宏缔的架构森林 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 一,相关文档: https://learnku.com/docs/laravel/10.x/container/14842 二,php代码: 假设我们有两种商品:虚拟商品如账号,实体商品如手办需要销售 1,App\extend\mall\GoodsInterface.php 1 2 3 4 5 6 阅读全文
posted @ 2023-10-22 10:40 刘宏缔的架构森林 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 一,启动与退出: liuhongdi@lhdpc:/data/laravel/dignews$ php artisan tinker Psy Shell v0.11.22 (PHP 8.1.1 — cli) by Justin Hileman > exit INFO Goodbye. 二,查询数据 阅读全文
posted @ 2023-10-22 10:38 刘宏缔的架构森林 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 一,相关的文档: https://learnku.com/docs/laravel/10.x/scheduling/14875 二,php代码: 1,创建command: liuhongdi@lhdpc:/data/laravel/dignews$ php artisan make:command 阅读全文
posted @ 2023-10-22 10:36 刘宏缔的架构森林 阅读(32) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 91 下一页