上一页 1 ··· 104 105 106 107 108 109 110 111 112 ··· 179 下一页
摘要: 一,官方文档地址: https://www.workerman.net/doc/webman/components/validation.html 二,安装组件: 1,安装 liuhongdi@lhdpc:/data/webman/imageadmin$ composer require topth 阅读全文
posted @ 2023-08-28 15:18 刘宏缔的架构森林 阅读(330) 评论(0) 推荐(0)
摘要: 一,官方文档地址: https://www.workerman.net/doc/webman/config.html 二,代码: 1, .env: GOODS_IMAGE_DIR=/var/www/html/goodsImage GOODS_IMAGE_HOST=http://192.168.219 阅读全文
posted @ 2023-08-28 15:14 刘宏缔的架构森林 阅读(202) 评论(0) 推荐(0)
摘要: 一,官方文档地址: https://www.workerman.net/doc/webman/components/env.html 二,安装phpdotenv插件: liuhongdi@lhdpc:/data/webman/imageadmin$ composer require vlucas/p 阅读全文
posted @ 2023-08-23 09:57 刘宏缔的架构森林 阅读(360) 评论(0) 推荐(0)
摘要: 一,官方文档: https://www.workerman.net/doc/webman/middleware.html 二,php代码: 1,配置路由的中间件 config/route.php 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 阅读全文
posted @ 2023-08-23 09:55 刘宏缔的架构森林 阅读(230) 评论(0) 推荐(0)
摘要: 一,官方文档地址: https://www.workerman.net/doc/webman/middleware.html 二,php代码 1,配置中间件: config/middleware.php 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 阅读全文
posted @ 2023-08-23 09:52 刘宏缔的架构森林 阅读(370) 评论(0) 推荐(0)
摘要: 一,文档地址: https://www.workerman.net/doc/webman/others/security.html https://www.workerman.net/doc/webman/request.html https://www.workerman.net/doc/webm 阅读全文
posted @ 2023-08-23 09:50 刘宏缔的架构森林 阅读(381) 评论(0) 推荐(0)
摘要: 一,官方文档地址: https://www.workerman.net/doc/webman/db/thinkcache.html 二,安装组件 liuhongdi@lhdpc:/data/webman/imageadmin$ composer require -W webman/think-cac 阅读全文
posted @ 2023-08-23 09:49 刘宏缔的架构森林 阅读(148) 评论(0) 推荐(0)
摘要: 一,官方文档地址: https://www.workerman.net/doc/webman/db/thinkorm.html 二,安装组件 liuhongdi@lhdpc:/data/webman/imageadmin$ composer require -W webman/think-orm . 阅读全文
posted @ 2023-08-23 09:46 刘宏缔的架构森林 阅读(301) 评论(0) 推荐(0)
摘要: 一,官方文档: https://www.workerman.net/doc/webman/log.html 二,代码: 1,配置: config/log.php 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-08-23 09:41 刘宏缔的架构森林 阅读(254) 评论(0) 推荐(0)
摘要: 一,添加一个除0错的异常代码: 页面显示效果如图: 二,配置: php代码 1,config/ 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 <?php /** * This file is part of webman. * * Licensed und 阅读全文
posted @ 2023-08-23 09:37 刘宏缔的架构森林 阅读(270) 评论(0) 推荐(0)
上一页 1 ··· 104 105 106 107 108 109 110 111 112 ··· 179 下一页