code: 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;
      }
docs: 配置分组
  
  @return array