!140 修复报错

Merge pull request !140 from handy/dev-3.0.x
This commit is contained in:
风如歌 2024-02-19 02:28:23 +00:00 committed by Gitee
commit afe1906fd4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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("获取厂商级发送上限参数错误");