diff --git a/app/Http/Controllers/Api/WorkflowController.php b/app/Http/Controllers/Api/WorkflowController.php index b807c72d8..7480777ec 100755 --- a/app/Http/Controllers/Api/WorkflowController.php +++ b/app/Http/Controllers/Api/WorkflowController.php @@ -916,7 +916,7 @@ class WorkflowController extends AbstractController 'start_time' => $process['var']['start_time'], 'end_time' => $process['var']['end_time'], ]; - $text = view('push.bot', ['type' => $type, 'action' => $action, 'data' => (object)$data])->render(); + $text = view('push.bot', ['type' => $type, 'action' => $action, 'is_finished' => $process['is_finished'], 'data' => (object)$data])->render(); $text = preg_replace("/^\x20+/", "", $text); $text = preg_replace("/\n\x20+/", "\n", $text); $msg_action = null; diff --git a/resources/views/push/bot.blade.php b/resources/views/push/bot.blade.php index c6c846564..cc99f97fc 100755 --- a/resources/views/push/bot.blade.php +++ b/resources/views/push/bot.blade.php @@ -139,7 +139,11 @@ 开始时间:{{$data->start_time}} 结束时间:{{$data->end_time}}