application/core/manage/logic/ConfigLogic.php
public function getGroupList()
    {
        $list = $this->model->order('config_sort asc')->select();
        $res = [];
        foreach ($list as $vo) {
            $group = $vo['config_group'];
            if (! isset($res[$group])) {
                $res[$group] = [
                    'name' => $group,
                    'key' => md5($group),
                    'list' => []
                ];
            }
            $res[$group]['list'][] = $this->processGroupItem($vo);
        }
        return $res;
    }
public function getGroupList()
    {
        $list = $this->model->order('config_sort asc')->select();
        $res = [];
        foreach ($list as $vo) {
            $group = $vo['config_group'];
            if (! isset($res[$group])) {
                $res[$group] = [
                    'name' => $group,
                    'key' => md5($group),
                    'list' => []
                ];
            }
            $res[$group]['list'][] = $this->processGroupItem($vo);
        }
        return $res;
    }
配置分组

@return array