Feat: custom error for general layer codes

This commit is contained in:
HFO4
2019-11-26 19:51:54 +08:00
parent 9a1665526c
commit a734493b65
5 changed files with 89 additions and 0 deletions

View File

@@ -62,6 +62,8 @@ func InitRouter() *gin.Engine {
{
// 文件上传
file.POST("upload", controllers.FileUploadStream)
// 下载文件
file.GET("", controllers.Download)
}
// 目录