diff --git a/app/mix/controller/init.go b/app/mix/controller/init.go index da3ee891..c69db15b 100644 --- a/app/mix/controller/init.go +++ b/app/mix/controller/init.go @@ -309,7 +309,7 @@ func Init(r *gin.Engine) { apiNotificationGroup := r.Group("/api/notification", PrepareToC()) apiNotificationGroup.POST("list_by_mid", middleware.JSONParamValidator(notificationproto.ApiListByMidReq{}), middleware.JwtAuthenticator(), ApiGetNotificationListByMid) apiNotificationGroup.POST("receive", middleware.JSONParamValidator(notificationproto.ApiReceiveReq{}), middleware.JwtAuthenticator(), ApiReceiveAllBcstedNotifs) - apiMomentGroup.POST("get_banner_info", middleware.JSONParamValidator(base.BaseRequest{}), OpGetBannerInfo) + apiNotificationGroup.POST("get_banner_info", middleware.JSONParamValidator(base.BaseRequest{}), middleware.JwtAuthenticator(), OpGetBannerInfo) // 瑞文智商测试访问表 apiRavenIQTestVisitGroup := r.Group("/api/Raven_IQ_test_visit", PrepareToC())