mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-21 15:45:36 +08:00
update api docs
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
## yieldByWS
|
||||
|
||||
```php
|
||||
public function yieldByWS(int $timeout, array $hang, array $compare): mixed
|
||||
public function yieldByWS(array $hang, array $compare, int $timeout): mixed
|
||||
```
|
||||
|
||||
### 描述
|
||||
@@ -14,9 +14,9 @@ public function yieldByWS(int $timeout, array $hang, array $compare): mixed
|
||||
|
||||
| 名称 | 类型 | 描述 |
|
||||
| -------- | ---- | ----------- |
|
||||
| timeout | int | |
|
||||
| hang | array | |
|
||||
| compare | array | |
|
||||
| timeout | int | |
|
||||
|
||||
### 返回
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ public function getConfiguredModules(): array
|
||||
## packModule
|
||||
|
||||
```php
|
||||
public function packModule(mixed $module): bool
|
||||
public function packModule(array $module, string $target): bool
|
||||
```
|
||||
|
||||
### 描述
|
||||
@@ -31,7 +31,8 @@ public function packModule(mixed $module): bool
|
||||
|
||||
| 名称 | 类型 | 描述 |
|
||||
| -------- | ---- | ----------- |
|
||||
| module | mixed | |
|
||||
| module | array | 模块信息 |
|
||||
| target | string | 目标路径 |
|
||||
|
||||
### 返回
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
## downloadCQImage
|
||||
|
||||
```php
|
||||
public function downloadCQImage(mixed $msg, null $path): array|false
|
||||
public function downloadCQImage(mixed $msg, string $path): array|false
|
||||
```
|
||||
|
||||
### 描述
|
||||
@@ -15,7 +15,7 @@ public function downloadCQImage(mixed $msg, null $path): array|false
|
||||
| 名称 | 类型 | 描述 |
|
||||
| -------- | ---- | ----------- |
|
||||
| msg | mixed | |
|
||||
| path | null | |
|
||||
| path | string | |
|
||||
|
||||
### 返回
|
||||
|
||||
|
||||
Reference in New Issue
Block a user