Commit 4a43ab97 authored by clone's avatar clone

Merge branch 'test'

# Conflicts: # application/api_broker/service/BrokerService.php
parents 9e8b0a67 bb62face
......@@ -58,7 +58,8 @@ class BrokerService
$this->aBD->updateDevice([ "id" => $item["id"], "push_id" => $push_id, "device_id" => $device_id ]);
return true;
}
if($device_id == $item["device_id"] ){
if (($is_pc == 0 && $device_id == $item["device_id"])
|| ($is_pc == 1 && $push_id = $item["push_id"] && $device_id == $item["device_id"])) {
if ($item["is_forbidden"] == 0) {
return true;
} elseif ($item["is_forbidden"] == 1) { //已存在申请关系
......
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