mirror of
https://gitee.com/dromara/sms4j.git
synced 2025-12-06 17:08:40 +08:00
在调用SmsBlend.sendMessage方法时,传入三个参数,第三个参数map,当这个参数大小不为0的时候,该方法一直返回null
This commit is contained in:
parent
36348b54b1
commit
2ee0389eda
@ -232,7 +232,7 @@ public class SmsUtils {
|
|||||||
if (isEmpty(map)) {
|
if (isEmpty(map)) {
|
||||||
return new String[0];
|
return new String[0];
|
||||||
}
|
}
|
||||||
return toArray(map.values(), SmsUtils::isNotEmpty, s -> s, new String[0]);
|
return toArray(map.values(), SmsUtils::isNotEmpty, s -> s, new String[map.size()]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user