mirror of
https://gitee.com/dromara/sms4j.git
synced 2025-12-06 17:08:40 +08:00
fix 修复 类型转换bug string不可强转int
Signed-off-by: 疯狂的狮子Li <15040126243@163.com>
This commit is contained in:
parent
55c957ca27
commit
5add6ef80f
@ -61,7 +61,7 @@ public class SingleBlendRestrictedProcessor implements SmsProcessor, SmsDaoAware
|
||||
}
|
||||
int maximum = 0;
|
||||
try{
|
||||
maximum = (int) maximumObj ;
|
||||
maximum = Integer.parseInt(maximumObj) ;
|
||||
}catch (Exception e){
|
||||
log.error("获取厂商级发送上限参数错误!请检查!");
|
||||
throw new IllegalArgumentException("获取厂商级发送上限参数错误");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user