Commit 022e3239 authored by clone's avatar clone

bug

parent 7b47dbc7
...@@ -139,7 +139,7 @@ class Broker extends Basic ...@@ -139,7 +139,7 @@ class Broker extends Basic
//判断设备id是否存在 //判断设备id是否存在
$is_login = $this->judgeBand($params["device_id"], $agents_data['id'], $params["model"], 0, $params["push_id"]); $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("102", "该账号没有绑定该手机,请致电人事进行绑定。");
} }
$agents_data['last_login_ip'] = ip2long($this->request->ip()); $agents_data['last_login_ip'] = ip2long($this->request->ip());
......
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