Commit 6e563614 authored by zw's avatar zw

统计

parent 9bf84d05
...@@ -141,10 +141,10 @@ class Broker extends Basic ...@@ -141,10 +141,10 @@ class Broker extends Basic
return $this->response(101, '密码错误'); return $this->response(101, '密码错误');
} }
//判断设备id是否存在 //判断设备id是否存在
$is_login = $this->brokerService->judgeBand($params["device_id"], $agents_data['id'], $params["model"], 0, $params["push_id"], 0); /* $is_login = $this->brokerService->judgeBand($params["device_id"], $agents_data['id'], $params["model"], 0, $params["push_id"], 0);
if (!$is_login) { if (!$is_login) {
return $this->response("102", "该账号没有绑定该手机,请致电人事进行绑定。"); return $this->response("102", "该账号没有绑定该手机,请致电人事进行绑定。");
} }*/
$agents_data['last_login_ip'] = ip2long($this->request->ip()); $agents_data['last_login_ip'] = ip2long($this->request->ip());
$agents_data['last_login_time'] = date('Y-m-d H:i:s'); $agents_data['last_login_time'] = date('Y-m-d H:i:s');
......
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