Newer
Older
newfiber-termite / newfiber-system / newfiber-system-sms / src / main / java / com / newfiber / system / builder / SmsConfiguration.java
@yanghui yanghui on 11 May 606 bytes 白蚁项目初版代码提交
package com.newfiber.system.builder;

import com.newfiber.common.redis.service.RedisService;
import com.newfiber.system.service.ISmsConfigService;
import lombok.AllArgsConstructor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Sms配置类
 *
 * @author Chill
 */
@Configuration
@AllArgsConstructor
public class SmsConfiguration {

	private final ISmsConfigService smsConfigService;

	private final RedisService redisService;

	@Bean
	public SmsBuilder smsBuilder() {
		return new SmsBuilder(smsConfigService, redisService);
	}

}