com.healthy.common.security.code.sms.DefaultSmsCodeSender Maven / Gradle / Ivy
package com.healthy.common.security.code.sms;
import lombok.extern.slf4j.Slf4j;
import java.util.Map;
/**
* The default SMS verification code sender
*
* @author xiaomingzhang
*/
@Slf4j
public class DefaultSmsCodeSender implements SmsCodeSender {
@Override
public void send(String mobile, String code, Map extra) {
log.warn("请配置真实的短信验证码发送器[SmsCodeSender]");
log.info("向手机:[{}] 发送的短信验证码为:[{}]", mobile, code);
}
}