diff --git a/sms4j-core/src/main/java/org/dromara/sms4j/core/api/ConfigApi.java b/sms4j-core/src/main/java/org/dromara/sms4j/core/api/ConfigApi.java deleted file mode 100644 index 63ccee88..00000000 --- a/sms4j-core/src/main/java/org/dromara/sms4j/core/api/ConfigApi.java +++ /dev/null @@ -1,13 +0,0 @@ -package org.dromara.sms4j.core.api; - -/** - * ConfigApi - *

用于自定义注册配置 - * @author :Wind - * 2023/4/19 20:40 - **/ -public interface ConfigApi { - - - -} diff --git a/sms4j-core/src/main/java/org/dromara/sms4j/core/load/SmsLoad.java b/sms4j-core/src/main/java/org/dromara/sms4j/core/load/SmsLoad.java index 46c400db..e04b0cc0 100644 --- a/sms4j-core/src/main/java/org/dromara/sms4j/core/load/SmsLoad.java +++ b/sms4j-core/src/main/java/org/dromara/sms4j/core/load/SmsLoad.java @@ -44,7 +44,12 @@ public class SmsLoad { } } - // 获取一个服务 + /** + * getLoadServer + *

根据负载算法获取一个可获取到的短信服务,这里获取到的服务必然是addLoadServer方法中添加过的服务,不会凭空出现 + * @return SmsBlend 短信实现 + * @author :Wind + */ public static SmsBlend getLoadServer() { int totalWeight = 0; LoadServer selectedLoadServer = null;