Commit 5cd44844 authored by clone's avatar clone

苹果审核帐号排除

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