mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-23 16:45:35 +08:00
fix data error bug
This commit is contained in:
@@ -283,7 +283,8 @@ class OneBot12Adapter extends ZMPlugin
|
|||||||
$resp->retcode = $body['retcode'];
|
$resp->retcode = $body['retcode'];
|
||||||
$resp->status = $body['status'];
|
$resp->status = $body['status'];
|
||||||
$resp->message = $body['message'] ?? '';
|
$resp->message = $body['message'] ?? '';
|
||||||
$resp->data = $body['data'] ?? null;
|
$resp->data = $body['data'] ?? [];
|
||||||
|
$resp->echo = $body['echo'] ?? null;
|
||||||
|
|
||||||
ContainerRegistrant::registerOBActionResponseServices($resp);
|
ContainerRegistrant::registerOBActionResponseServices($resp);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user