Update wagfarm-api/routes/log/harvest.go
This commit is contained in:
@@ -6,12 +6,18 @@ import (
|
|||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
)
|
)
|
||||||
|
|
||||||
func RegisterHarvestRoutes(router *gin.Engine, path string) {
|
func RegisterHarvestRoutes(router *gin.Engine) {
|
||||||
db := database.DB
|
db := database.DB
|
||||||
|
|
||||||
router.GET(path+"/harvest", func(c *gin.Context) {
|
router.GET("/harvest", func(c *gin.Context) {
|
||||||
})
|
})
|
||||||
|
|
||||||
router.POST(path+"/harvest", func(c *gin.Context) {
|
router.POST("/harvest", func(c *gin.Context) {
|
||||||
|
})
|
||||||
|
router.PUT("/harvest", func(c *gin.Context) {
|
||||||
|
|
||||||
|
})
|
||||||
|
router.DELELTE("/harvest", func(c *gin.Context) {
|
||||||
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user