|
|
@@ -86,7 +86,7 @@ public class AliSmsService implements SmsService {
|
|
|
if (response.getHttpStatus() != 200) {
|
|
|
throw new BusinessException("发送失败,请稍后再试", response.getHttpStatus() + "," + response.getData());
|
|
|
}
|
|
|
- log.info("send sms response {}", response.getData());
|
|
|
+ log.info("{} send sms response {}", phone, response.getData());
|
|
|
JSONObject jsonObject = JSON.parseObject(response.getData());
|
|
|
if (!"ok".equalsIgnoreCase(jsonObject.getString("Code"))) {
|
|
|
throw new BusinessException("发送失败,请稍后再试", jsonObject.getString("Message"));
|
|
|
@@ -152,7 +152,7 @@ public class AliSmsService implements SmsService {
|
|
|
if (response.getHttpStatus() != 200) {
|
|
|
log.error("发送失败," + response.getHttpStatus() + "," + response.getData());
|
|
|
}
|
|
|
- log.info("send sms response {}", response.getData());
|
|
|
+ log.info("{} send sms response {}", phone, response.getData());
|
|
|
JSONObject jsonObject = JSON.parseObject(response.getData());
|
|
|
if (!"ok".equalsIgnoreCase(jsonObject.getString("Code"))) {
|
|
|
log.error("发送失败," + jsonObject.getString("Message"));
|