12345678910111213 |
- package service
- import (
- "Zythum/common"
- "Zythum/controller"
- "github.com/gin-gonic/gin"
- )
- func TaskBasicService(engine *gin.Engine) {
- engine.GET(common.GetNewTask, controller.NewTaskHandler)
- engine.GET(common.UpdateTaskStatus, controller.UpdateTaskHandler)
- engine.GET(common.GetTaskStatus, controller.GetTaskStatusHandler)
- }
|