by Robin at 20241030

This commit is contained in:
Leufolium 2024-10-30 17:22:38 +08:00
parent 79fde24cee
commit 7ba93214e2
1 changed files with 1 additions and 1 deletions

View File

@ -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)
// =============================== 以下是服务,只允许内网调用 ===============================