上一页 1 ··· 100 101 102 103 104 105 106 107 108 ··· 181 下一页
摘要: 一,相关文档 https://learnku.com/docs/laravel/10.x/filesystem/14865#481e03 二,前端vue代码 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 27 阅读全文
posted @ 2023-10-30 09:00 刘宏缔的架构森林 阅读(63) 评论(0) 推荐(0)
摘要: 一,相关文档 https://learnku.com/docs/laravel/10.x/filesystem/14865#481e03 二,前端vue代码 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 27 阅读全文
posted @ 2023-10-30 08:40 刘宏缔的架构森林 阅读(32) 评论(0) 推荐(0)
摘要: 一,相关文档 https://learnku.com/docs/laravel/10.x/testing/14895 二,php代码 1,查看laravel自带的phpunit的版本 liuhongdi@lhdpc:/data/laravel/dignews$ ./vendor/bin/phpuni 阅读全文
posted @ 2023-10-30 08:35 刘宏缔的架构森林 阅读(71) 评论(0) 推荐(0)
摘要: 一,phpexcel官方代码站: https://github.com/PHPOffice/PHPExcel 说明:项目在2019年已经被设置为archived新用户可以使用它的代替项目PhpSpreadsheet来实现我是因为旧代码中使用了这个库才应用它来工作 二,演示代码: 1 2 3 4 5 阅读全文
posted @ 2023-10-30 07:51 刘宏缔的架构森林 阅读(257) 评论(0) 推荐(0)
摘要: 一,相关文档: https://learnku.com/docs/laravel/10.x/configuration/14836#972c4c 二,用artisan工具实现上线下线 1,下线,进入维护模式 [root@img dignews]# /usr/local/soft/php8.2.5/b 阅读全文
posted @ 2023-10-29 10:34 刘宏缔的架构森林 阅读(137) 评论(0) 推荐(0)
摘要: 一,APP_KEY的作用: 1,用途: 它作为网站的密钥使用,用来保护网站的安全主要用于加密cookie 2,生成APP_KEY: 生成前: APP_KEY= 生成命令: [root@img dignews]# /usr/local/soft/php8.2.5/bin/php artisan key 阅读全文
posted @ 2023-10-29 10:31 刘宏缔的架构森林 阅读(545) 评论(0) 推荐(0)
摘要: 一,相关文档 https://learnku.com/docs/laravel/10.x/blade/14852#918cb6 二,模板: resources/views/layouts/layout.blade.php 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 阅读全文
posted @ 2023-10-29 10:29 刘宏缔的架构森林 阅读(51) 评论(0) 推荐(0)
摘要: 一,相关文档: https://learnku.com/docs/laravel/10.x/eloquent-relationships/14889 二,php代码: 1,model中定义方法 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 阅读全文
posted @ 2023-10-25 07:50 刘宏缔的架构森林 阅读(258) 评论(0) 推荐(0)
摘要: 一,php代码: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 public function home(Request $request){ //默认连接 DB::enableQueryLog(); $modelNews = 阅读全文
posted @ 2023-10-24 08:41 刘宏缔的架构森林 阅读(272) 评论(0) 推荐(0)
摘要: 一,相关文档 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 刘宏缔的架构森林 阅读(57) 评论(0) 推荐(0)
上一页 1 ··· 100 101 102 103 104 105 106 107 108 ··· 181 下一页