|
...
|
...
|
@@ -47,6 +47,8 @@ class WorkchatMessageSend extends Command |
|
|
|
$task->status = MessagePush::STATUS_SUCCESS;
|
|
|
|
}catch (ConnectionException $e){
|
|
|
|
$this->output('推送消息' . $task->id . '超时');
|
|
|
|
$task->status = MessagePush::STATUS_ERROR;
|
|
|
|
$task->remark = '请求超时';
|
|
|
|
}catch (\Exception $e){
|
|
|
|
$this->output('推送消息' . $task->id . '失败:' . $e->getMessage());
|
|
|
|
$task->status = MessagePush::STATUS_ERROR;
|
...
|
...
|
|