14 lines
243 B
Go
14 lines
243 B
Go
package http
|
|
|
|
import "github.com/gofiber/fiber/v3"
|
|
|
|
// @provider
|
|
type weChat struct{}
|
|
|
|
// Verify
|
|
// @Router /MP_verify_:code.txt [get]
|
|
// @Bind code path
|
|
func (*weChat) Verify(ctx fiber.Ctx, code string) error {
|
|
return ctx.SendString(code)
|
|
}
|