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

                # 文件上傳接口(圖片/文件) jeecg-boot 提供了文件及圖片上傳功能,前兩個文件已介紹了MinIO和OSS配置,現在可根據需要選擇上傳方式。 [TOC] ## 在yml文件中可切換圖片/文件存儲方式 ![](https://img.kancloud.cn/36/07/36071ec3daae1d04b1bebab99e1e9b22_771x243.png) local為本地存儲,還需要配置jeecg.path.upload minio為使用MinIO線上存儲 alioss為使用阿里云線上存儲 ## 訪問路徑 ~~~ http://127.0.0.1:8080/jeecg-boot/sys/common/upload ~~~ ~~~ @PostMapping(value = "/upload") public Result<?> upload(HttpServletRequest request, HttpServletResponse response) { Result<?> result = new Result<>(); String savePath = ""; String bizPath = request.getParameter("biz"); MultipartHttpServletRequest multipartRequest = (MultipartHttpServletRequest) request; MultipartFile file = multipartRequest.getFile("file");// 獲取上傳文件對象 ~~~ ## 上送參數說明 | 名稱 | 類型 | 說明 |---|---|----| | biz | String | 自定義文件存儲路徑,alioss為必傳 |
                  <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>

                              哎呀哎呀视频在线观看