All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.healthy.common.security.code.sms.DefaultSmsCodeSender Maven / Gradle / Ivy

There is a newer version: 1.2.1.RELEASE
Show newest version
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);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy