Commit 4deba69b authored by clone's avatar clone

bug'

parent fbf4e165
...@@ -221,7 +221,7 @@ class Broker extends Basic ...@@ -221,7 +221,7 @@ class Broker extends Basic
$is_exits = true; $is_exits = true;
} }
//当个推返回的id改变时则更新记录 //当个推返回的id改变时则更新记录
if ($push_id && $push_id != $item["push_id"]) if (!empty($push_id) && $push_id != $item["push_id"])
$this->aBD->updateDevice([ "id" => $item["id"], "push_id" => $push_id ]); $this->aBD->updateDevice([ "id" => $item["id"], "push_id" => $push_id ]);
} }
......
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