mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-03-18 05:04:51 +08:00
fix data error bug
This commit is contained in:
parent
d708485918
commit
e526a94520
@ -283,7 +283,8 @@ class OneBot12Adapter extends ZMPlugin
|
||||
$resp->retcode = $body['retcode'];
|
||||
$resp->status = $body['status'];
|
||||
$resp->message = $body['message'] ?? '';
|
||||
$resp->data = $body['data'] ?? null;
|
||||
$resp->data = $body['data'] ?? [];
|
||||
$resp->echo = $body['echo'] ?? null;
|
||||
|
||||
ContainerRegistrant::registerOBActionResponseServices($resp);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user