by Robin at 20241030
This commit is contained in:
parent
79fde24cee
commit
7ba93214e2
|
@ -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)
|
||||
|
||||
// =============================== 以下是服务,只允许内网调用 ===============================
|
||||
|
||||
|
|
Loading…
Reference in New Issue