fix 修复 类型转换bug string不可强转int

Signed-off-by: 疯狂的狮子Li <15040126243@163.com>
This commit is contained in:
疯狂的狮子Li 2024-01-30 14:51:45 +00:00 committed by Gitee
parent 55c957ca27
commit 5add6ef80f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

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