Commit fcdb5ff0 authored by clone's avatar clone

bug

parent eaefec24
...@@ -137,7 +137,7 @@ class Broker extends Basic ...@@ -137,7 +137,7 @@ class Broker extends Basic
return $this->response(101, '密码错误'); return $this->response(101, '密码错误');
} }
//判断设备id是否存在 //判断设备id是否存在
$is_login = $this->judgeBand($params["device_id"], $agents_data['id'], $params["model"], 0); $is_login = $this->judgeBand($params["device_id"], $agents_data['id'], $params["model"], 0, $params["push_id"]);
if (!$is_login) { if (!$is_login) {
return $this->response("101", "该账号没有绑定该手机,请致电人事进行绑定。"); return $this->response("101", "该账号没有绑定该手机,请致电人事进行绑定。");
} }
...@@ -184,7 +184,7 @@ class Broker extends Basic ...@@ -184,7 +184,7 @@ class Broker extends Basic
if ($is_visit) { if ($is_visit) {
return $this->response("200", "success", []); return $this->response("200", "success", []);
} else { } else {
return $this->response("101", "该账号没有绑定该手机,请致电人事进行绑定。"); return $this->response("102", "该账号没有绑定该手机,请致电人事进行绑定。");
} }
} }
......
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