Update wagfarm-api/routes/log/harvest.go

This commit is contained in:
2025-04-10 17:33:53 +02:00
parent 77bd0a5f86
commit dc81f64d6e

View File

@@ -6,12 +6,18 @@ import (
"github.com/gin-gonic/gin"
)
func RegisterHarvestRoutes(router *gin.Engine, path string) {
func RegisterHarvestRoutes(router *gin.Engine) {
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) {
})
}