code: public function getGroupSelect()
      {
          $group_list = $this->model->select();
          $group_select = [];
          foreach ($group_list as $vo) {
              $group_select[] = [
                  'name' => $vo['group_name'],
                  'value' => $vo['id']
              ];
          }
          return $group_select;
      }
docs: 群组下拉选择
  
  @return array