Commit b3d712b2 by 程裕兵

feat:log

parent 6ef0b8fe
...@@ -214,6 +214,10 @@ public class RefundServiceImpl implements RefundService { ...@@ -214,6 +214,10 @@ public class RefundServiceImpl implements RefundService {
Boolean wx = configRpcService.getStudioBoolConfig(record.getStudioId(), "WECHAT_MEMBER_REFUND_SUCCESS"); Boolean wx = configRpcService.getStudioBoolConfig(record.getStudioId(), "WECHAT_MEMBER_REFUND_SUCCESS");
Boolean sms = configRpcService.getStudioBoolConfig(record.getStudioId(), "SMS_MEMBER_REFUND_SUCCESS"); Boolean sms = configRpcService.getStudioBoolConfig(record.getStudioId(), "SMS_MEMBER_REFUND_SUCCESS");
log.info(
"refund {} send member message config value WECHAT_MEMBER_REFUND_SUCCESS : {}, SMS_MEMBER_REFUND_SUCCESS : {}",
e.getId(), wx, sms);
String targetId; String targetId;
Long memberId = extra.getLong("notice_member_id"); Long memberId = extra.getLong("notice_member_id");
List<MsgChannelEnum> channels = sms ? Lists.newArrayList(MsgChannelEnum.SMS) : Lists.newArrayList(); List<MsgChannelEnum> channels = sms ? Lists.newArrayList(MsgChannelEnum.SMS) : Lists.newArrayList();
...@@ -247,6 +251,7 @@ public class RefundServiceImpl implements RefundService { ...@@ -247,6 +251,7 @@ public class RefundServiceImpl implements RefundService {
event.setSourceId(record.getStudioId()); event.setSourceId(record.getStudioId());
event.setBizType(bizType); event.setBizType(bizType);
event.setParams(paramList); event.setParams(paramList);
log.info("send message MEMBER_REFUND_SUCCESS {}", JSON.toJSONString(event));
EventAgent.of(SendCommonMsgEvent.class).triggerEvent(event); EventAgent.of(SendCommonMsgEvent.class).triggerEvent(event);
} }
......
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