Authored by Amos_sdy

日志优化

... ... @@ -90,6 +90,7 @@ public class AliyunSendSMSServiceImpl implements ISendSMSService {
}
bean.setSendNum(mobileList.size());
bean.setSuccessNum(mobileList.size());
bean.setSuccessList(mobileList);
} catch (Exception e) {
log.error(e.getMessage(), e);
}
... ...
... ... @@ -75,7 +75,8 @@ public class MWSendSMSServiceImpl implements ISendSMSService {
SendNoticeResultBean bean = new SendNoticeResultBean();
bean.setSendNum(successList.size());
bean.setSuccessNum(0);
bean.setSuccessNum(successList.size());
bean.setSuccessList(successList);
return new Response<SendNoticeResultBean>(bean);
}
... ...
... ... @@ -74,7 +74,8 @@ public class XWSendSMSServiceImpl implements ISendSMSService {
log.info("sendSMS success with mobileList={}, content={}, params={}", mobileList.size(), content, params);
SendNoticeResultBean bean = new SendNoticeResultBean();
bean.setSendNum(successList.size());
bean.setSuccessNum(0);
bean.setSuccessNum(successList.size());
bean.setSuccessList(successList);
return new Response<SendNoticeResultBean>(bean);
}
... ...