Commit 023ea511 authored by hujun's avatar hujun

1

parent 7094139f
...@@ -188,7 +188,7 @@ class BrokerService ...@@ -188,7 +188,7 @@ class BrokerService
$m_agent_device = new ABindingDevice(); $m_agent_device = new ABindingDevice();
if ($data['status'] != 0) { if ($data['status'] != 0) {
$update_where['agent_id'] = $data['id']; $update_where['agent_id'] = $id;
$m_agent_device->updateDate(['is_forbidden' => 1], $update_where); $m_agent_device->updateDate(['is_forbidden' => 1], $update_where);
} }
} catch (\Exception $e) { } catch (\Exception $e) {
......
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