From bad9d26c8d6d1e07ac557c45d03a6bfd86e85b87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A1=80=E5=B0=BC=E9=BE=9F?= <365252428@qq.com> Date: Tue, 27 May 2025 09:53:39 +0800 Subject: [PATCH] 11 --- pkg/router/bundle.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/router/bundle.go b/pkg/router/bundle.go index 5f8d766..42ba7fe 100644 --- a/pkg/router/bundle.go +++ b/pkg/router/bundle.go @@ -1,13 +1,15 @@ package router import ( + "fonchain-fiee/pkg/middleware" + "fonchain-fiee/pkg/service" "fonchain-fiee/pkg/service/bundle" "github.com/gin-gonic/gin" ) func BundleRouter(r *gin.RouterGroup) { bundleRoute := r.Group("bundle") - + bundleRoute.Use(middleware.CheckWebLogin(service.AccountProvider)) // 套餐 { bundleClientRoute := bundleRoute.Group("system")