You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OneAuth/api/verification/init.go

19 lines
313 B
Go

//
// Copyright (C) 2024 veypi <i@veypi.com>
// 2025-03-04 16:08:06
// Distributed under terms of the MIT license.
//
package verification
import (
"github.com/veypi/vigo"
)
var Router = vigo.NewRouter()
func init() {
// 发送验证码
Router.Post("/send", "发送验证码", vigo.SkipBefore, sendCode)
}