feat: get storage by id api

This commit is contained in:
Noah Hsu
2022-07-18 23:02:14 +08:00
parent e08810a12f
commit 184b9d1e6c
3 changed files with 16 additions and 0 deletions

View File

@ -39,6 +39,7 @@ func Init(r *gin.Engine) {
storage := admin.Group("/storage")
storage.GET("/list", handles.ListStorages)
storage.GET("/get", handles.GetStorage)
storage.POST("/create", handles.CreateStorage)
storage.POST("/update", handles.UpdateStorage)
storage.POST("/delete", handles.DeleteStorage)