captcha

package
v1.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmailCaptchaLogic

type EmailCaptchaLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewEmailCaptchaLogic

func NewEmailCaptchaLogic(r *http.Request, svcCtx *svc.ServiceContext) *EmailCaptchaLogic

邮箱验证码

func (*EmailCaptchaLogic) EmailCaptcha

func (l *EmailCaptchaLogic) EmailCaptcha(req *types.SendEmailCaptchaReq) (resp *types.BaseResponse, err error)

type GenerateCaptchaLogic

type GenerateCaptchaLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGenerateCaptchaLogic

func NewGenerateCaptchaLogic(r *http.Request, svcCtx *svc.ServiceContext) *GenerateCaptchaLogic

生成验证码

func (*GenerateCaptchaLogic) GenerateCaptcha

func (l *GenerateCaptchaLogic) GenerateCaptcha() (resp *types.GenerateCaptchaResp, err error)

type SmsCaptchaLogic

type SmsCaptchaLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewSmsCaptchaLogic

func NewSmsCaptchaLogic(r *http.Request, svcCtx *svc.ServiceContext) *SmsCaptchaLogic

发送短信验证码

func (*SmsCaptchaLogic) SmsCaptcha

func (l *SmsCaptchaLogic) SmsCaptcha(req *types.SendSmsCaptchaReq) (resp *types.BaseResponse, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL