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")