webman push插件 如果消息很多 用什么方案处理?

问题描述 使用 https://github.com/webman-php/push 插件作为消息推送插件, 请教一下,如果每秒中消息很多,比如每秒几百条或者几千条消息,用什么方案解决。 $api = new Api( // webman下可以直接使用config获取配置,非webman环境需要手动写入相应配置 'http://127.0.0.1:3232', config('plugin....

manman10 发表与 2023-12-27 287 浏览 1 回答
运行时候 这些日期在哪儿关闭呀?

运行时候 产生很多sql 查询日志 和redis查询日志 ,很快把服务器占用满了? 不知道哪儿关闭这些日志,急求 已解决 !谢谢...

manman10 发表与 2023-03-26 462 浏览 2 回答
webman admin管理后台 字段类型不能设置为json吗?

webman admin管理后台 修改数据表 字段类型不能设置为json吗? https://www.workerman.net/doc/webman-admin/...

manman10 发表与 2023-03-25 652 浏览 1 回答
有没有办法修改请求 把前端传的小驼峰形式的字段名称转成下划线格式

问题描述 前端vue字段名称习惯用小驼峰 webman后端为了和数据库一致字段用下划线风格 想用中间件修改请求内容和返回内容 统一转换 怎么实现? 要是能像laravel那样加一个 $request->replace($newParameters) 方法就好了 可以修改请求部分...

manman10 发表与 2022-12-21 829 浏览 2 回答
视图 使用 Blade组件传参 显示未定义?

https://www.workerman.net/doc/webman/view.html#blade%E4%BD%BF%E7%94%A8component%E7%BB%84%E4%BB%B6 Alert.php <?php namespace App\user\view\components; use Illuminate\View\Component; class Alert extends Com...

manman10 发表与 2022-12-16 552 浏览 1 回答
webman push 插件和GatewayWorker框架 中websocket 什么区别?

我想使用websocket做聊天室 不知道 https://www.workerman.net/plugin/2 webman push这个插件提供的wss 和 使用GatewayWorker框架中提供的wss 有什么区别喃? 好像都有wss的功能...

manman10 发表与 2022-12-01 876 浏览 1 回答
自定义请求 怎么文档没有了 是不支持了吗

1.4自定义请求 怎么文档没有了 是不支持了吗? 。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。...

manman10 发表与 2022-11-26 607 浏览 1 回答
有没有比较好用的前端用户端模板?

有没有比较好用的前端用户端模板或者框架。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。...

manman10 发表与 2022-11-17 701 浏览 1 回答
有没有做前台 好用的模板或者框架?

问题描述 比如处理前端 会员中心 或者展示数据 等等 一些常见的功能 ,有没有好看的前端框架或者模板? 非后台管理系统...

manman10 发表与 2022-10-24 663 浏览 0 回答
webman mysql数据表数据超过1000W了 怎么实现分表喃?

webman mysql数据表数据超过1000W了 怎么实现分表喃?...

manman10 发表与 2022-09-11 2205 浏览 7 回答
webman get 请求携带body数据 会报错? 怎么不显示错误喃?

webman get请求携带body数据会报错? 怎么不显示错误喃? ValueError: strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) in C:\Users\api\vendor\workerman\workerman\Protocols\Http\Request.php:523<br />...

manman10 发表与 2022-09-10 533 浏览 1 回答
webman 怎么对用户查询传来的数据参数安全过滤?

webman 怎么对用户查询传来的数据参数安全过滤?有没有什么办法或者方法...

manman10 发表与 2022-09-08 981 浏览 1 回答
webman/admin 多数据库 读取前缀出错

webman/admin 多数据库 读取前缀出错 plugin/xxx/app/admin/controller 目录里 新增 ArticleController /** * 构造函数 */ public function __construct() { $this->model = new Articles(); } Article和 管理...

manman10 发表与 2022-09-07 849 浏览 1 回答
php windows.php 不热更新 插件plugin目录下面的文件?

php windows.php 不热更新插件plugin目录下面的文件?...

manman10 发表与 2022-09-07 920 浏览 1 回答
Database connection [plugin.admin.mysql] not configured.

安装admin管理后台第二步 显示这个错误是什么问题...

manman10 发表与 2022-09-06 717 浏览 1 回答
webman使用laravel数据库调用关联模型有个功能不支持?

不支持 直接用对象调用关联模型喃? $usesr = User::query()->with('articles')->get(); foreach($users as $user){ print_r($user->articles); } 打印结果 是null 只能先转数组 用数组调用 $usesr = User::query()->with('articles')->get()-...

manman10 发表与 2022-08-16 1484 浏览 4 回答
有没有动态修改时区的函数?

因为有不同地区请求,可以通过中间件设置不同时区吗? 还是应该怎么解决 会不会设置了时区 所有请求都更改了时区呀...

manman10 发表与 2022-08-14 692 浏览 1 回答
为什么日志会有很多select 1查询?

[2022-08-13 17:41:49] default.INFO: SQL select 1 [] [] [2022-08-13 17:41:49] default.INFO: SQL select 1 [] [] [2022-08-13 17:41:50] default.INFO: SQL select 1 [] [] [2022-08-13 17:41:50] default.INFO: SQL selec...

manman10 发表与 2022-08-13 1013 浏览 1 回答
有没有比较好看的开源API文档?

支持部署到自己服务器,写文档也比较方便的,好多第三方如apipost 都不支持私有化部署...

manman10 发表与 2022-08-12 1229 浏览 4 回答
想使用中间件对请求参数过滤,但是不知道怎么返回request类

class FilterRequest implements MiddlewareInterface { public function process(Request $request, callable $next): Response { $request = Util::filter($request->all()); return $next($requ...

manman10 发表与 2022-08-11 742 浏览 1 回答

manman10

-360
积分
0
获赞数
0
粉丝数
2022-08-04 加入
🔝