![](https://img-blog.csdnimg.cn/20190918140158853.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
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 · 984 阅读 · 0 评论 -
thinkphp6使用Workerman gateway_worker
首先通过 composer 安装composer require topthink/think-workerworker_server.phpphp think worker:serverthinkphp6使用gateway_worker篇(1)其次是安装GatewayWorker可以使用下面的命令安装composer require workerman/gateway-workergateway_worker.phpphp think worker:g.原创 2020-11-16 15:18:09 · 1239 阅读 · 0 评论 -
tp6 开启trace 开启多应用
1.开启trace修改跟目录下.example.env 为.envAPP_DEBUG = trueAPP_DEBUG = true2.使用多应用模式composer require topthink/think-multi-app├─app 应用目录│ ├─index 主应用│ │ ├─controller ...原创 2020-05-06 09:31:29 · 932 阅读 · 0 评论