uid) ->withAttr('type', function ($value, $data) use ($type_conf) { return isset($type_conf[$value]) ? $type_conf[$value] : '未知类型'; }) ->order('id', 'desc') ->paginate($param->data['limit']) ->toArray(); return $list['data']; } }