Commit 359ca1c2 authored by hujun's avatar hujun

排除空设备

parent 18bdcf61
......@@ -108,7 +108,11 @@ class PushClientService
$result = false;
} else {
$push_id = $chat_ext->getInfo('push_id', ['ext_id'=>$ext_id, 'is_forbidden'=>$is_forbidden]);
$result = $push->public_push_message_for_one($id, $push_id['push_id'], $title, $content, $type, $user_id, $house_id, $order_id, $name);
if (empty($push_id)) {
$result = false;
} else {
$result = $push->public_push_message_for_one($id, $push_id['push_id'], $title, $content, $type, $user_id, $house_id, $order_id, $name);
}
}
return $result;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment