add delete album

This commit is contained in:
root committed 2018-04-25 17:10:29 +08:00
1 parent 0da02160f0
commit 1b8416dba3
3 files changed
+47 -5

No files matched your search

+1
View File
@@ -53,5 +53,6 @@ func SetDefaultRoutes(r *gin.Engine) {
albumAPI.POST("/", context.PatchContext(album.CreateAlbum))
albumAPI.GET("/:id", context.PatchContext(album.GetAlbum))
albumAPI.PUT("/:id", context.PatchContext(album.UpdateAlbum))
albumAPI.DELETE("/:id", context.PatchContext(album.DeleteAlbum))
}
}