Commit 0a2d38f2 by zhangchen

1.添加日志

parent be99983b
......@@ -5,6 +5,8 @@ package com.ctrip.fun.golf.service.payment;
import java.util.List;
import java.util.Map;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.CollectionUtils;
......@@ -43,9 +45,11 @@ public class CommuneNotifyService extends AbstractNotifyService {
@Autowired
private UserExtDao userExtDao;
private static Logger logger = LoggerFactory.getLogger(CommuneNotifyService.class);
public String notifyForMiniApp(String xml) throws Exception{
Map<String,Object> notifyMap = WXUtil.doXMLParse(xml);
......@@ -85,6 +89,7 @@ public class CommuneNotifyService extends AbstractNotifyService {
public String notifyForVoucherMiniApp(String xml) throws Exception{
System.out.print(xml);
logger.debug(xml);
Map<String,Object> notifyMap = WXUtil.doXMLParse(xml);
if(notifyMap.get("return_code").equals("SUCCESS")){
......
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 sign in to comment