Skip to content

Latest commit

 

History

History
61 lines (40 loc) · 1.21 KB

README.md

File metadata and controls

61 lines (40 loc) · 1.21 KB

SpringBoot File Upload

Quick Start

clone this repositories

git clone this repositories

Modify the uploaded path according to your OS by application.yml

If you're trying to upload a qiniu cloud, you need to modify the corresponding key

run UploadApplication class

open your Browser

http://localhost:8089

Auto redirecting to the swagger2 page

Start uploading

In your project

You need two documents to support

  • org.struy.util.*
  • org.struy.web.AccessoryController

You may have a little modification that can be used in your project

Features

  • application.yml Configuration upload path
  • h2 database Storage file info
  • The file is stored at the FileRoot/type/year/month/file level to facilitate the maintenance of the file
  • File downloading
  • Picture/pdf/txt Preview
  • Cloud storage scheme by qiniu

upload in qiniu cloud

Next

  • Still want to

Contact