first(); if(!$user){ return toJson(-20002); } $user=$user->toArray(); unset($user['password']); unset($user['solt']); return toJson($user); } }