<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                本模型采用 `adminCategoryTree` 方法 ``` <?php namespace app\agent\model; use think\Model; use tree\Tree; class AgentCategoryModel extends Model { /** * 生成分類 select樹形結構 * @param int $selectId 需要選中的分類 id * @param int $currentCid 需要隱藏的分類 id * @return string */ public function adminCategoryTree($selectId = 0, $currentCid = 0) { $where = ['delete_time' => 0]; if (!empty($currentCid)) { $where['id'] = ['neq', $currentCid]; } $categories = $this->order("list_order ASC")->where($where)->select()->toArray(); $tree = new Tree(); $tree->icon = ['&nbsp;&nbsp;│', '&nbsp;&nbsp;├─', '&nbsp;&nbsp;└─']; $tree->nbsp = '&nbsp;&nbsp;'; $newCategories = []; foreach ($categories as $item) { $item['selected'] = $selectId == $item['id'] ? "selected" : ""; array_push($newCategories, $item); } $tree->init($newCategories); $str = '<option value=\"{$id}\" {$selected}>{$spacer}{$name}</option>'; $treeStr = $tree->getTree(0, $str); return $treeStr; } } ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看