file.go

Routing setting

beego.Router("/file/download", &controllers.FileUploadController{}, "get:Download")
Copy the code

rendering

You can set the parameters of the file name

Biiego file download upload code Github feel good under Star