<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、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                ```js import * as request from '@/common/request' export default { getList(map = {}) { map.storage = map.storage || ''; return new Promise((resolve, reject) => { request.fly.get('/image', map).then(response => { resolve(response) }) }) }, delete(id) { return new Promise((resolve, reject) => { request.fly.delete('/image/' + id).then(response => { resolve(response) }) }) }, async upload(f, data = {}) { const response = await request.fly.get("/config/storage"); const storageType = response.data.name; // console.log(storageType); switch (storageType) { case "local": { return this.uploadLocal(f, data); } case "qiniu": //有安全問題,七牛的配置文件必須寫到客戶端或者從服務器讀取到客戶端 { //return this.uploadQiniu(f, data); } } }, uploadLocal(f, data = {}) { const formData = Object.assign({}, data, { "storage": "local" }); return new Promise((resolve, reject) => { uni.uploadFile({ url: request.config.uploadUrl, filePath: f, name: 'file', //單一文件上傳必須使用file作為key header: {}, formData: formData, success: (uploadFileRes) => { // console.log(uploadFileRes.data); let res_data=uploadFileRes.data; resolve( JSON.parse(res_data)) }, fail: () => { resolve(false); } }); }); }, }; ```
                  <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>

                              哎呀哎呀视频在线观看