摘要: 一,相关文档: 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 刘宏缔的架构森林 阅读(26) 评论(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 刘宏缔的架构森林 阅读(21) 评论(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 刘宏缔的架构森林 阅读(72) 评论(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 刘宏缔的架构森林 阅读(96) 评论(0) 推荐(0)
摘要: 一,相关文档: https://learnku.com/docs/laravel/10.x/errors/14857#9e8f93 二,php代码: 1,代码: 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 26 阅读全文
posted @ 2023-10-22 10:32 刘宏缔的架构森林 阅读(128) 评论(0) 推荐(0)