package route import ( "github.com/gin-gonic/gin" "wireguard-dashboard/http/api" ) // Captcha // @description: 验证码 // @param r func Captcha(r *gin.Engine) { captcha := r.Group("captcha") { captcha.GET("", api.Captcha().GenerateCaptcha) // 生成验证码 } }