
https://www.workerman.net/plugin/94

现在这样报错
```php
GuzzleHttp\Exception\InvalidArgumentException: You cannot use form_params and multipart at the same time. Use the form_params option if you want to send application/x-www-form-urlencoded requests, and the multipart option to send multipart/form-data requests
```
<?php
namespace app\controller;
use support\Request;
use support\Db;
class User
{
public function db(Request $request)
{
Db::connection('mongodb')->collection('test')->insert([1,2,3]);
return json(Db::connection('mongodb')->collection('test')->get());
}
}
初试webman
get()获取所有记录的对象
请问有存在返回一条记录的方法 谢谢
Sat May 21 07:23:08 2022 from 127.0.0.1
[root@VM-12-4-centos ~]# cd /www/wwwroot/124.220.0.86/vendor/GatewayWorker[root@VM-12-4-centos GatewayWorker]# php start.php start -d
Workerman[start.php] start in DAEMON modepcntl_fork() has been disabled for security reasons in file /www/wwwroot/124.220.0.86/vendor/GatewayWorker/vendor/workerman/workerman/Worker.php:1217
Stack trace:
#0 /www/wwwroot/124.220.0.86/vendor/GatewayWorker/vendor/workerman/workerman/Worker.php on line 1217
[root@VM-12-4-centos GatewayWorker]#