Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmailCaptchaLogic ¶
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 ¶
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 ¶
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)
Click to show internal directories.
Click to hide internal directories.