問(wèn)題描述 大家好,我想在fastadmin項(xiàng)目中實(shí)現(xiàn)訂單實(shí)時(shí)推送的功能,不知道能否使用thinkphp的數(shù)據(jù)庫(kù)查詢語(yǔ)句例如: 查詢數(shù)據(jù)集使用:Db::table('think_user')->where('status',1)->select(); 在線求助各位師兄,如何能夠?qū)崿F(xiàn)?...
問(wèn)題描述 環(huán)境:Linux PHP版本:8.2 框架程序:ThinkPHP8 擴(kuò)展:topthink/think-worker、workerman3.5 程序代碼 $reptile = reptile::where('status', 1)->select()->toArray(); // 創(chuàng)建 Worker 實(shí)例 foreach ($reptile as $key => $value) { ...
問(wèn)題描述 thinkphp6.1 使用php think worker啟動(dòng)http服務(wù) 多應(yīng)用模式下訪問(wèn)路由出錯(cuò)。 使用Workerman作為HttpServer,多應(yīng)用情況下 第一次訪問(wèn),http://127.0.0.1:2346/api/Index/banners,返回正常 刷新后,就報(bào)錯(cuò)提示控制器不存在 個(gè)人感覺(jué)是沒(méi)有加載到多模塊的那個(gè)包,有遇到相同問(wèn)題的水友給解答一下 thinkphp官方?jīng)]人管,我看到8...