Commit a6356735 authored by qinxunjia's avatar qinxunjia

日志打印优化

parent b0e21fca
...@@ -75,7 +75,7 @@ public class BgySmsServiceImpl implements BgySmsService { ...@@ -75,7 +75,7 @@ public class BgySmsServiceImpl implements BgySmsService {
requestParams.put("subModule", subModule); requestParams.put("subModule", subModule);
requestParams.put("content", content); requestParams.put("content", content);
requestParams.put("mobile", mobile); requestParams.put("mobile", mobile);
log.info("碧桂园短信接口参数:{}", requestParams); log.info("碧桂园短信接口参数:{}", JSONObject.toJSONString(requestParams));
String retStr = SendSmsUtil.sendSmsByPost(url, JSONObject.toJSONString(requestParams)); String retStr = SendSmsUtil.sendSmsByPost(url, JSONObject.toJSONString(requestParams));
log.info("碧桂园短信接口返回信息:{}", retStr); log.info("碧桂园短信接口返回信息:{}", retStr);
if (retStr == null) { if (retStr == null) {
...@@ -109,7 +109,7 @@ public class BgySmsServiceImpl implements BgySmsService { ...@@ -109,7 +109,7 @@ public class BgySmsServiceImpl implements BgySmsService {
requestParams.put("subModule", subModule); requestParams.put("subModule", subModule);
requestParams.put("templateId", templateId); requestParams.put("templateId", templateId);
requestParams.put("data", data); requestParams.put("data", data);
log.info("碧桂园短信接口参数:{}", requestParams); log.info("碧桂园短信接口参数:{}", JSONObject.toJSONString(requestParams));
String reqStr = JSONObject.toJSONString(requestParams); String reqStr = JSONObject.toJSONString(requestParams);
String retStr = SendSmsUtil.sendSmsByPost(url, reqStr); String retStr = SendSmsUtil.sendSmsByPost(url, reqStr);
log.info("碧桂园短信接口返回信息:{}", retStr); log.info("碧桂园短信接口返回信息:{}", retStr);
...@@ -178,7 +178,7 @@ public class BgySmsServiceImpl implements BgySmsService { ...@@ -178,7 +178,7 @@ public class BgySmsServiceImpl implements BgySmsService {
param.put("slxtID", account); param.put("slxtID", account);
param.put("templateType", templateType); param.put("templateType", templateType);
log.info("碧桂园创建模板接口参数:{}", param); log.info("碧桂园创建模板接口参数:{}", JSONObject.toJSONString(param));
String retStr = HttpUtil.sendPost(BgySMSConfig.url, JSONObject.toJSONString(param)); String retStr = HttpUtil.sendPost(BgySMSConfig.url, JSONObject.toJSONString(param));
log.info("碧桂园创建模板接口返回信息:{}", retStr); log.info("碧桂园创建模板接口返回信息:{}", retStr);
if (retStr == null) { if (retStr == null) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment