From b26d786baf27dd7daaa2016d19aa4581dbde983c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=A5=E6=B5=B7?= Date: Tue, 2 Jan 2024 19:24:11 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20worker=E7=8B=AC=E7=AB=8B=E8=B7=AF?= =?UTF-8?q?=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/router.go | 2 ++ api/worker/controller.go | 2 +- api/worker/router.go | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/api/router.go b/api/router.go index ff807600..ea93a91b 100644 --- a/api/router.go +++ b/api/router.go @@ -16,6 +16,7 @@ import ( "tdp-cloud/api/upgrade" "tdp-cloud/api/user" "tdp-cloud/api/vendor" + "tdp-cloud/api/worker" "tdp-cloud/api/workhub" "tdp-cloud/api/alibaba" @@ -47,6 +48,7 @@ func Router(engine *gin.Engine) { upgrade.Router(api) user.Router(api) vendor.Router(api) + worker.Router(api) workhub.Router(api) alibaba.Router(api) diff --git a/api/worker/controller.go b/api/worker/controller.go index 21e6e9b7..da5e3372 100644 --- a/api/worker/controller.go +++ b/api/worker/controller.go @@ -1,4 +1,4 @@ -package workhub +package worker import ( "github.com/gin-gonic/gin" diff --git a/api/worker/router.go b/api/worker/router.go index 532b69dc..96889480 100644 --- a/api/worker/router.go +++ b/api/worker/router.go @@ -1,4 +1,4 @@ -package workhub +package worker import ( "github.com/gin-gonic/gin"