fix: 修正短信发送间隔

dev
huangfeng 3 months ago
parent eb794b3778
commit 19419e9808

@ -46,6 +46,10 @@ public class SmsAdapter {
if (list.size() > 9) { if (list.size() > 9) {
rabchaserApi.sendSms(list, content); rabchaserApi.sendSms(list, content);
list.clear(); list.clear();
try {
Thread.sleep(500);
} catch (InterruptedException ignore) {
}
} }
} }
if (list.size() > 0) { if (list.size() > 0) {

Loading…
Cancel
Save