find(); if (!$user){ json_result(9,"账号已经在其他设备登录,请重新登录"); } $this->user=$user; $this->user_id=$user->id; } }