
tp6
tp6
wjp@001
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
tp6知识点
//引入 use think\exception\HttpResponseException; //方法 public function redirect(...$args) { throw new HttpResponseException(redirect(...$args)); } //调用 public function index(){ $this->redirect(url('index/order/lists')); } ...原创 2022-04-12 07:56:45 · 1063 阅读 · 0 评论 -
thinkphp6使用Workerman gateway_worker
首先通过 composer 安装 composer require topthink/think-worker worker_server.php php think worker:server thinkphp6使用gateway_worker篇(1) 其次是安装GatewayWorker 可以使用下面的命令安装 composer require workerman/gateway-worker gateway_worker.php php think worker:g.原创 2020-11-16 15:18:09 · 1318 阅读 · 0 评论 -
tp6 开启trace 开启多应用
1.开启trace 修改跟目录下.example.env 为.env APP_DEBUG = true APP_DEBUG = true 2.使用多应用模式 composer require topthink/think-multi-app ├─app 应用目录 │ ├─index 主应用 │ │ ├─controller ...原创 2020-05-06 09:31:29 · 985 阅读 · 0 评论