Commit b30e86a8 authored by clone's avatar clone

bug

parent 33d17c15
......@@ -56,13 +56,17 @@ class BrokerService
($device_id == $item["device_id"] && $push_id != $item["push_id"]))
) {
$this->aBD->updateDevice([ "id" => $item["id"], "push_id" => $push_id, "device_id" => $device_id ]);
return true;
}
if($device_id == $item["device_id"] && $push_id == $item["push_id"]){
if ($item["is_forbidden"] == 0) {
return true;
} elseif ($item["is_forbidden"] == 1) { //已存在申请关系
$is_exits = true;
}
}
}
......
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