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); } }