|
@@ -87,7 +87,7 @@ public class JSMSUtils {
|
|
|
try {
|
|
|
if (ServerEnvEnum.PROD.getCode().equals(env)) {
|
|
|
SendSMSResult res = client.sendTemplateSMS(payload);
|
|
|
- LogUtil.info(logger, "账单支付失败短信发送,mobile:{0}, res:{1}", new Object[]{mobile, JSON.toJSONString(res)});
|
|
|
+ LogUtil.info(logger, "短信发送,mobile:{0}, res:{1}", new Object[]{mobile, JSON.toJSONString(res)});
|
|
|
return res;
|
|
|
} else {
|
|
|
logger.info("非生产环境,不发送短信!" + mobile + "," + tempId);
|
|
@@ -95,9 +95,9 @@ public class JSMSUtils {
|
|
|
|
|
|
}
|
|
|
} catch (APIConnectionException e) {
|
|
|
- LogUtil.error(logger, e, "账单支付失败短信发送失败,mobile:{0}", mobile);
|
|
|
+ LogUtil.error(logger, e, "短信发送失败,mobile:{0}", mobile);
|
|
|
} catch (APIRequestException e) {
|
|
|
- LogUtil.error(logger, e, "账单支付失败短信发送失败,mobile:{0}", mobile);
|
|
|
+ LogUtil.error(logger, e, "短信发送失败,mobile:{0}", mobile);
|
|
|
}
|
|
|
return null;
|
|
|
}
|