mirror of
https://gitee.com/dromara/sms4j.git
synced 2025-12-06 08:58:38 +08:00
修复报错
This commit is contained in:
parent
ccf9ca4daf
commit
fde178dc47
@ -57,7 +57,7 @@ public class SingleBlendRestrictedProcessor implements SmsProcessor, SmsDaoAware
|
||||
}
|
||||
int maximum = 0;
|
||||
try{
|
||||
maximum = Integer.parseInt(maximumObj) ;
|
||||
maximum = Integer.parseInt(String.valueOf(maximumObj)) ;
|
||||
}catch (Exception e){
|
||||
log.error("获取厂商级发送上限参数错误!请检查!");
|
||||
throw new IllegalArgumentException("获取厂商级发送上限参数错误");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user