上一页 1 ··· 94 95 96 97 98 99 100 101 102 ··· 169 下一页
摘要: 一,文档地址: 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 刘宏缔的架构森林 阅读(364) 评论(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 刘宏缔的架构森林 阅读(135) 评论(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 刘宏缔的架构森林 阅读(290) 评论(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 刘宏缔的架构森林 阅读(245) 评论(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 刘宏缔的架构森林 阅读(254) 评论(0) 推荐(0)
摘要: 一,官方文档: https://www.workerman.net/doc/webman/request.html 二,示例代码: ImageController.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 2 阅读全文
posted @ 2023-08-19 09:09 刘宏缔的架构森林 阅读(205) 评论(0) 推荐(0)
摘要: 一,php代码: 1,类代码: app/result/Result.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 27 28 29 30 31 32 33 34 35 <?php /* 统一格式的返回 阅读全文
posted @ 2023-08-19 09:07 刘宏缔的架构森林 阅读(90) 评论(0) 推荐(0)
摘要: 一,官方文档地址: https://www.workerman.net/doc/webman/route.html 二,php代码: config/route.php 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 <?php use Webma 阅读全文
posted @ 2023-08-19 09:03 刘宏缔的架构森林 阅读(448) 评论(0) 推荐(0)
摘要: 一,启动和停止 1,启动 #-d: 以daemon方式启动,用于生产环境 liuhongdi@lhdpc:/data/webman/imageadmin$ php start.php start -d Workerman[start.php] start in DAEMON mode WORKERM 阅读全文
posted @ 2023-08-19 09:01 刘宏缔的架构森林 阅读(295) 评论(0) 推荐(0)
摘要: 一,默认页面的内容: 说明:代码位于 app/IndexController.php 参考这个文档: https://www.workerman.net/doc/webman/route.html 原始代码:显示了README.md这个文件的内容 1 2 3 4 5 6 7 8 9 10 class 阅读全文
posted @ 2023-08-19 08:58 刘宏缔的架构森林 阅读(137) 评论(0) 推荐(0)
上一页 1 ··· 94 95 96 97 98 99 100 101 102 ··· 169 下一页