国产+高潮+在线,国产 av 仑乱内谢,www国产亚洲精品久久,51国产偷自视频区视频,成人午夜精品网站在线观看

怎么在 webman command 使用 webman/openai 調(diào)用AI接口

控制器里這么用 <?php namespace app\controller; use support\Request; use Webman\Openai\Chat; use Workerman\Protocols\Http\Chunk; class ChatController { public function completions(Request $request) { ...

chen 發(fā)表與 28天前 261 瀏覽 2 回答
webman/admin 打開多個(gè)頁面,其他頁面空白

問題描述 打開多個(gè)頁面后,在當(dāng)前tab按F5刷新瀏覽器,然后關(guān)閉當(dāng)前tab,其他頁面都變空白了 (如果是切換tab沒問題)...

chen 發(fā)表與 2025-07-31 160 瀏覽 0 回答
使用 webman build:bin 打包 webman.bin 文件交付,能被反編譯嗎

問題描述 使用 php webman build:bin 打包, 把 webman.bin 文件交付給客戶,客戶能被反編譯出源碼嗎?...

chen 發(fā)表與 2025-07-28 439 瀏覽 4 回答
請(qǐng)問這種路由應(yīng)該怎么定義

問題描述 怎么定義下面的路由: GET: /users/ 訪問第1頁 GET: /users/index_1.html 訪問第1頁 GET: /users/index_2.html 訪問第2頁 …… GET: /users/index_N.html 訪問第N頁...

chen 發(fā)表與 2025-07-22 145 瀏覽 1 回答
多數(shù)據(jù)庫 Database connection [backup] not configured.

問題描述 程序代碼 public function handle() { Db::connection('backup')->table('test')->orderBy('id')->chunk(100, function ($items) { dump($items);exit; }); }...

chen 發(fā)表與 2025-07-21 300 瀏覽 2 回答
可以把 laravel 和 webman 整合到一起嗎

問題描述 比如把 webman 做成 laravel 的一個(gè) package,假設(shè)這個(gè)包叫 workerman/laravel-webman 這個(gè)包其實(shí)就和 https://github.com/walkor/webman 代碼差不多 composer require workerman/laravel-webman 后,會(huì)在laravel里注冊(cè)一個(gè)command,比如就叫 webman(可以使用 php artis...

chen 發(fā)表與 2024-01-21 2709 瀏覽 3 回答
webman/admin 0.5.2 安裝后403

問題描述 復(fù)現(xiàn)步驟 composer create-project workerman/webman composer require webman/admin php start.php start 訪問 http://127.0.0.1:8787/app/admin 更多信息 composer info doctrine/inflector 2.0.4 PHP Doctri...

chen 發(fā)表與 2022-12-13 1868 瀏覽 1 回答
新手請(qǐng)教,怎么使用laravel的migration啊

https://learnku.com/docs/laravel/9.x/migrations/12248 折騰了半天,沒折騰成功,有大神搞個(gè)插件嗎...

chen 發(fā)表與 2022-05-20 1393 瀏覽 1 回答
已有項(xiàng)目 composer install 報(bào)錯(cuò)

從項(xiàng)目倉庫克隆下代碼,執(zhí)行 composer install -vvv 報(bào)錯(cuò)如下: ...

chen 發(fā)表與 2022-03-22 1200 瀏覽 1 回答
webman start 啟動(dòng)server 使用phpdotenv 的bug

...

chen 發(fā)表與 2022-03-21 1768 瀏覽 1 回答
php webman stop Fatal error

...

chen 發(fā)表與 2022-03-14 1221 瀏覽 3 回答
建議walkor老大加個(gè)論壇帖子的收藏功能

目前很多帖子只能加到瀏覽器收藏夾,很不方便...

chen 發(fā)表與 2022-03-07 1469 瀏覽 3 回答
關(guān)于自定義進(jìn)程執(zhí)行異步任務(wù)的問題

代碼如下: 控制器 app/controller/Index.php <?php namespace app\controller; use support\Log; use support\Request; use Workerman\Connection\AsyncTcpConnection; class Index { public function index(Request $requ...

chen 發(fā)表與 2022-02-26 2814 瀏覽 1 回答
關(guān)于在GatewayWorker里用戶授權(quán)后的問題

使用GatewayWorker做的長(zhǎng)連接和客戶端通信,非常感謝walkor老大開源這么好用的項(xiàng)目 客戶端在連接上服務(wù)器時(shí)做用戶登錄,現(xiàn)在用的手冊(cè)里提供的 Timer 定時(shí)器方法 https://workerman.net/doc/gateway-worker/close-unauthed-connections.html 請(qǐng)教個(gè)問題: 但是客戶端連接上服務(wù)器后,如果30s內(nèi)不認(rèn)證,而是直接進(jìn)行其他操作,那就每次都得判...

chen 發(fā)表與 2022-02-16 1667 瀏覽 2 回答
上傳文件時(shí)報(bào)錯(cuò) Undefined index: type

控制器代碼 class Device { public function upload(Request $request) { $file = $request->file('file'); } } 報(bào)錯(cuò)如下: [2022-01-21 15:11:14] default.ERROR: Undefined index: type {"exception"...

chen 發(fā)表與 2022-01-21 1741 瀏覽 1 回答
一共開了16個(gè)進(jìn)程,用ab壓了1000w請(qǐng)求,看status是只有8個(gè)進(jìn)程處理請(qǐng)求的意思嗎

ab -n 10000000 -c 5000 -k http://127.0.0.1:8787/ ...

chen 發(fā)表與 2022-01-19 2649 瀏覽 1 回答
按文檔優(yōu)化linux內(nèi)核,執(zhí)行sysctl -p有個(gè)報(bào)錯(cuò)

按照這個(gè)文檔優(yōu)化linux內(nèi)核 http://www.wtbis.cn/doc/workerman/appendices/kernel-optimization.html 修改完成 /etc/sysctl.conf 文件保存,執(zhí)行 sysctl -p,報(bào)錯(cuò)信息如下: ...

chen 發(fā)表與 2022-01-19 2465 瀏覽 1 回答
新手請(qǐng)教這是為什么

控制器代碼 app/controller/Index.php class Index { protected $count; public function index(Request $request) { $this->count++; return response('count:' . $this->count); } } 配置...

chen 發(fā)表與 2022-01-12 1567 瀏覽 2 回答

chen

660
積分
0
獲贊數(shù)
0
粉絲數(shù)
2022-01-12 加入
??