package router import ( "91porn-server/app/api/notictrl" "91porn-server/app/middleware/limitHandler" "github.com/gin-gonic/gin" ) func notificationRoute(router *gin.RouterGroup) { group := router.Group("/notification") { group.POST("/captcha", limitHandler.FilterSMSCaptchaByIP, limitHandler.FilterSMSCaptchaByUID, notictrl.SendCaptcha) } }