public interface CodeSender
Modifier and Type | Method and Description |
---|---|
<T extends ValidateCode> |
send(org.springframework.web.context.request.ServletWebRequest request,
String target,
T code)
发送验证码到指定的目标
|
<T extends ValidateCode> void send(org.springframework.web.context.request.ServletWebRequest request, String target, T code) throws com.yishuifengxiao.common.tool.exception.ValidateException
发送验证码到指定的目标
一般来说发送目标的含义如下:T
- 验证码的类型request
- 用户请求target
- 验证码发送目标code
- 验证码的内容com.yishuifengxiao.common.tool.exception.ValidateException
- 发送时出现问题Copyright © 2021. All rights reserved.