order('sort', 'asc') ->select() ->toArray(); // 构建树形结构 $tree = (new CommonService())->areaBuildTree($areas); return success($tree); } }