com.liumapp.datapay.sms.SmsOperatorMain Maven / Gradle / Ivy
package com.liumapp.datapay.sms;
import com.liumapp.datapay.sms.config.SmsOperatorConfig;
import com.liumapp.datapay.sms.tool.SendSms;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
/**
* Created by haoxy on 2018/11/3.
* E-mail:[email protected]
* github:https://github.com/haoxiaoyong1014
*/
@EnableAutoConfiguration
@Configuration
@Import({SmsOperatorConfig.class})
public class SmsOperatorMain {
@Bean
public SendSms sendSms(){
return new SendSms();
}
}