-
demo 中,访问api/admin/auth/login?account=easyswoole&password=123456
报错:Call to undefined method App\\Model\\Admin\\AdminModel::updateWithLimit()
实际查看App\\Model\\Admin\\AdminModel类中,确实没有updateWithLimit …
-
swoole version 4.6.2
php version 7.4.14
easyswoole version 3.4.3-dev
'TASK' => [
'workerNum' => 1,
'maxRunningNum' => 2, //这边设置2 下面例子测试100…
-
## 背景
验证中使用快速验证,但是in相关的验证无法使用,这会变得很麻烦
## 提议
vendor\easyswoole\validate\src\Validate.php中的make方法236~237行改为: if(in_array($action,['inArray','notInArray'])){ //重写inArray和notInArray $validateRule->{$…
-
基于最新版的easyswoole 安装好了之后 html页面
![image](https://user-images.githubusercontent.com/2015166/126864930-3cf74f4c-03fe-4ab4-ade2-18fdd4c78ba1.png)
具体代码如下:
```
/**
* @ApiGroup(groupName="t…
-
1.ip访问可以获取到真实ip,域名反代后则前端的订阅记录全部都是proxy pass填的ip(127.0.0.1/192.168.0.1/公网ip,三者填哪个获取的就是哪个),查看nginx访问日志里都是客户端真实ip,在宝塔的nginx或者yum安装的nginx环境下带真实ip参数订阅记录都不是真实ip。
2.无论是ip访问还是域名反代前端各类订阅的订阅记录的user-agent都是Arra…
-
orm组件升到1.5后EasySwoole\ORM\Utility\PreProcess中mappingWhere方法对$whereVal的判断缺少了is_sting分支,导致我们项目中好多地方出现了问题。这个可以解决一下吗
-
## easyswoole框架版本号、orm组件版本号 [Version]
es: 3.4.1 orm: 1.4.30
## 问题描述和截图 [Question]
希望可以给 Collection 添加toRawArray 的操作
## 排查情况和最小复现脚本 [Tests and Recurrence]
/**
* 将数据转成数组
* @access…
-
```
https://wiki.swoole.com/#/server/methods?id=reload
# 仅重启task进程
kill -USR2 主进程PID
```
根据官方提示无法平滑重启Task进程、看源码应该是easyswoole重新实现了Task,那如何平滑重启呢。
-
OK 我基本了解。
我想做到,ws的入口:wss://testwss.tx.com,假如后面有两台机器,M101=192.168.1.101:9501 ; M102=192.168.1.102:9501;
(1)、用户王磊,通过入口 wss://testwss.tx.com 注册 到了后端机器 M101;
(2)、用户张三,通过入口 wss://testwss.tx.com 注册 …
-
版本:swoole version 4.4.5
PHP7.2+
错误,每秒产生几条,重启swoole才能消失:
```
[2020-07-17 16:36:37][DEBUG][WARNING] : [Swoole\Process::read(): read() failed, Error: Bad file descriptor[9] at file:/xxxx/vendor/easy…