<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>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                # 調用素材資源 素材管理庫中的圖片、視頻的調用方法是 `get_thumb_images` 參數 `$site_id` 站點id `$image` 圖片的URL,數據庫表url字段 `$thumb_type` 獲取的圖片的縮略圖尺寸 ,默認值為all 會把大圖,中圖,小圖都返回 數據字典中定義 FileDict ` const BIG = 'big'; const MID = 'mid'; const SMALL = 'small';` 當值為all , 會返回數組結構 `[ 'big' =>, 'mid' =>, 'small' => , ]` 值為 big,mid,small值,直接返回圖片的途徑(本地或者云服務器) 開發時,都需要在后端查詢圖片的路徑,返回給前端,前端根據路徑加載圖片 ``` /** * 獲取縮略圖 * @param $site_id * @param $image * @param $thumb_type * @return mixed * @throws Exception */ function get_thumb_images($site_id, $image, $thumb_type = 'all', bool $is_throw_exception = false){ return (new CoreImageService())->thumb($site_id, $image, $thumb_type, $is_throw_exception); } ```
                  <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>

                              哎呀哎呀视频在线观看