修复报错

This commit is contained in:
handy 2024-02-19 10:27:17 +08:00
parent ccf9ca4daf
commit fde178dc47

View File

@ -57,7 +57,7 @@ public class SingleBlendRestrictedProcessor implements SmsProcessor, SmsDaoAware
} }
int maximum = 0; int maximum = 0;
try{ try{
maximum = Integer.parseInt(maximumObj) ; maximum = Integer.parseInt(String.valueOf(maximumObj)) ;
}catch (Exception e){ }catch (Exception e){
log.error("获取厂商级发送上限参数错误!请检查!"); log.error("获取厂商级发送上限参数错误!请检查!");
throw new IllegalArgumentException("获取厂商级发送上限参数错误"); throw new IllegalArgumentException("获取厂商级发送上限参数错误");