Commit 5cd44844 authored by clone's avatar clone

苹果审核帐号排除

parent e09cbd7d
...@@ -141,9 +141,11 @@ class Broker extends Basic ...@@ -141,9 +141,11 @@ 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); if ($params["phone"] != "13918937742") {
if (!$is_login) { $is_login = $this->brokerService->judgeBand($params["device_id"], $agents_data['id'], $params["model"], 0, $params["push_id"], 0);
return $this->response("102", "该账号没有绑定该手机,请致电人事进行绑定。"); if (!$is_login) {
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