get('areadData'); if (!$list) { $list = self::where('id > 100000')->order('id asc')->select()->toArray(); Cache::store('redis')->set('areadData', $list); } if ($list) { $list = ToolsService::arr2tree($list, 'ID', 'ParentId'); } return $list; } }