优化结构

This commit is contained in:
Yvan
2026-08-25 00:20:29 +08:00
parent 969afee284
commit ee179d6b34
49 changed files with 289 additions and 591 deletions
+2 -1
View File
@@ -2,9 +2,10 @@ package router
import (
"github.com/gin-gonic/gin"
"kra/internal/server/handler"
)
func RegisterTask(group *gin.RouterGroup, h *Task) {
func RegisterTask(group *gin.RouterGroup, h *handler.Task) {
router := group.Group("/timedTask")
router.POST("/createTimedTask", h.Create)
router.PUT("/updateTimedTask", h.Update)