Commit 641bbeb7 authored by zw's avatar zw

11

parent c23aee52
......@@ -113,13 +113,13 @@ class Login extends Basic
if ($user_data['id'] != 1) {
//判断设备id是否存在
if($mac_address){
/* if($mac_address){
$is_pc = 2;//客户端
$last_login_ip = $mac_address;//device_id存MAC地址
$model = $mac_address;//存MAC地址
}else{
}else{*/
$is_pc = 1;//浏览器
}
// }
$is_login = $this->brokerService->judgeBand($last_login_ip, $user_data['id'], $model, 0,$only_id , $is_pc);
if (!$is_login) {
......
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