mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
seed bonus add log etc
This commit is contained in:
@@ -47,7 +47,7 @@ class FireEvent implements ShouldQueue
|
||||
}
|
||||
$result = call_user_func_array([$eventName, "dispatch"], $params);
|
||||
$log .= ", success call dispatch, result: " . var_export($result, true);
|
||||
publish_model_event($name, $model->id);
|
||||
publish_model_event($name, $model->id, $model->toJson());
|
||||
} else {
|
||||
$log .= ", no event match this name";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user