diff --git a/app/mix/controller/init.go b/app/mix/controller/init.go index 367fd979..1a4a625b 100644 --- a/app/mix/controller/init.go +++ b/app/mix/controller/init.go @@ -300,7 +300,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) // =============================== 以下是服务,只允许内网调用 ===============================