package cn.com.poc.support.sms.channel;


import cn.com.poc.common.dto.SmsDto;
import cn.com.poc.support.sms.ThirdPlatformSmsService;
import cn.com.yict.framemax.core.i18n.I18nMessageException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

/**
 * @author Focan.Zhong
 */
@Service
public class DefaultSmsService implements ThirdPlatformSmsService {

    private Logger logger = LoggerFactory.getLogger(this.getClass());

    /**
     * 第三方平台验证码
     *
     * @param smsDto
     * @return
     */
    @Override
    public boolean doSend(SmsDto smsDto) throws Exception {
        throw new I18nMessageException("exception/there.is.currently.no.default.verification.code.channel.login");
    }
}
