This commit is contained in:
2024-12-27 18:30:35 +08:00
parent 3336573b4d
commit 0a97c9b29a
+1
View File
@@ -73,6 +73,7 @@ class Task
public function onTask(Server $server, int $task_id, int $src_worker_id, mixed $data): mixed public function onTask(Server $server, int $task_id, int $src_worker_id, mixed $data): mixed
{ {
try { try {
var_dump($data);
$data = json_decode($data, true); $data = json_decode($data, true);
if (is_null($data)) { if (is_null($data)) {
return null; return null;