Commit 587d6bef authored by 董建华's avatar 董建华

优化日志打印

parent b12b3d4b
...@@ -42,12 +42,12 @@ public class DisableActiveEventListner implements ApplicationListener<DisableAct ...@@ -42,12 +42,12 @@ public class DisableActiveEventListner implements ApplicationListener<DisableAct
String userId = String.valueOf(user.getId()); String userId = String.valueOf(user.getId());
String phoneNo = user.getPhoneNo(); String phoneNo = user.getPhoneNo();
Boolean enable = user.getEnable(); Boolean enable = user.getEnable();
//
// String post = httpService.postJson(msgCenter.concat(SMS_MARKET_BLACK_LIST),
// ImmutableMap.of("userId", userId,
// "phoneNo", phoneNo,
// "enable", String.valueOf(!enable)));//true代表消息中心的注销false代表激活跟用户中心是反的
// log.info("通知消息中心激活/注销用户结束user:{} ,post:{} ", user, post); String post = httpService.postJson(msgCenter.concat(SMS_MARKET_BLACK_LIST),
ImmutableMap.of("userId", userId,
"phoneNo", phoneNo,
"enable", String.valueOf(!enable)));//true代表消息中心的注销false代表激活跟用户中心是反的
log.info("通知消息中心激活/注销用户结束user:{} ,post:{} ", user, post);
} }
} }
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