|
|
|
@ -2791,8 +2791,8 @@ class UserController extends BaseController
|
|
|
|
|
$map = array(
|
|
|
|
|
'unique_code' => $request['unique_code'],
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
$result = $device_record -> where($map) -> order('create_time desc') -> find();
|
|
|
|
|
$duration = 0;
|
|
|
|
|
/* $result = $device_record -> where($map) -> order('create_time desc') -> find();
|
|
|
|
|
$duration = 0;
|
|
|
|
|
$now = time();
|
|
|
|
|
if (is_array($result) && $result['mark'] == 1) {
|
|
|
|
@ -2809,7 +2809,7 @@ class UserController extends BaseController
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
} */ // 在线时长不做统计
|
|
|
|
|
$request['user_id'] = (!empty($request['user_id'])) ? $request['user_id'] : 0;
|
|
|
|
|
|
|
|
|
|
$data = array(
|
|
|
|
|