feat(zy): 添加俱乐部功能和用户消息功能

- 新增俱乐部相关接口和功能,包括创建俱乐部、申请加入俱乐部、邀请加入俱乐部等
- 添加用户消息功能,包括发送消息、查看消息等
- 优化了部分代码结构,提高了可维护性
- 更新了文档,添加了新的接口说明
This commit is contained in:
2025-05-04 11:11:44 +08:00
parent 207e6b8a5d
commit 98eda4e5ff
23 changed files with 544 additions and 126 deletions

View File

@@ -19,6 +19,8 @@ return [
'Type error' => '类型错误',
'Fatal error' => '致命错误',
'syntax error' => '语法错误',
'param error' => '参数错误',
'param lose: {:param}' => '参数缺失: {:param}',
// 框架核心错误提示
'dispatch type not support' => '不支持的调度类型',

View File

@@ -210,7 +210,7 @@ class Windows extends Pipes
}
if (null !== $w && 0 < count($w)) {
while (strlen($this->inputBuffer)) {
while (strlen((string)$this->inputBuffer)) {
$written = fwrite($w[0], $this->inputBuffer, 2 << 18);
if ($written > 0) {
$this->inputBuffer = (string) substr($this->inputBuffer, $written);