From 491e3dd87fd05fbd51d9508a225b885b6f986fc4 Mon Sep 17 00:00:00 2001 From: sian Date: Thu, 28 Jul 2022 15:41:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=81=E8=A3=85=E5=A4=A9=E8=A1=8Capi?= =?UTF-8?q?=E7=9A=84=E8=8A=82=E5=81=87=E6=97=A5=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/v2/router/app.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/internal/v2/router/app.go b/internal/v2/router/app.go index 238c60f..4230e54 100644 --- a/internal/v2/router/app.go +++ b/internal/v2/router/app.go @@ -19,6 +19,7 @@ import ( "recook/internal/v2/controller/app/upgrade" "recook/internal/v2/controller/app/user" "recook/internal/v2/controller/app/vip" + "recook/internal/v2/controller/thirdPartyApi" "recook/internal/v2/router/middleware" "github.com/gin-gonic/gin" @@ -308,4 +309,11 @@ func routerApp(appRouter *gin.RouterGroup) { } } + thridApiController := appRouter.Group("thridapi") + { + proxy := thirdPartyApi.TianXingApi{} + { + thridApiController.POST("holidays", proxy.GetHolidays) + } + } }