Commit 0d05a335 by 徐高华

log

parent 68d2d993
...@@ -12,6 +12,7 @@ import org.apache.logging.log4j.LogManager; ...@@ -12,6 +12,7 @@ import org.apache.logging.log4j.LogManager;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import com.gic.api.base.commons.BasePageInfo; import com.gic.api.base.commons.BasePageInfo;
import com.gic.api.base.commons.Page; import com.gic.api.base.commons.Page;
...@@ -50,6 +51,7 @@ public class WxUserAddLogServiceImpl implements WxUserAddLogService { ...@@ -50,6 +51,7 @@ public class WxUserAddLogServiceImpl implements WxUserAddLogService {
private MemberTagApiService memberTagApiService; private MemberTagApiService memberTagApiService;
public void save(WxUserAddLogQDTO qdto) { public void save(WxUserAddLogQDTO qdto) {
log.info("保存用户信息={}",JSON.toJSON(qdto));
String externalUserid = qdto.getExternalUserid(); String externalUserid = qdto.getExternalUserid();
String wxUserId = qdto.getWxUserId(); String wxUserId = qdto.getWxUserId();
TabWxUserAddLog entity = new TabWxUserAddLog(); TabWxUserAddLog entity = new TabWxUserAddLog();
...@@ -104,6 +106,7 @@ public class WxUserAddLogServiceImpl implements WxUserAddLogService { ...@@ -104,6 +106,7 @@ public class WxUserAddLogServiceImpl implements WxUserAddLogService {
} }
} }
if (null != qdto.getMemberId()) { if (null != qdto.getMemberId()) {
entity.setMemberId(qdto.getMemberId());
entity = this.addMemberInfo(qdto.getEnterpriseId(), qdto.getMemberId(), entity); entity = this.addMemberInfo(qdto.getEnterpriseId(), qdto.getMemberId(), entity);
} }
} }
......
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