Commit fa8f2913 by huangZW

Merge branch 'developer' of http://115.159.76.241/haoban3.0/haoban-manage3.0.git into developer

parents 8b8a87ed 9b163c45
......@@ -3,7 +3,10 @@ package com.gic.haoban.manage.service.service.out.impl;
import java.util.ArrayList;
import java.util.List;
import com.alibaba.fastjson.JSON;
import org.apache.commons.lang3.StringUtils;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
......@@ -23,7 +26,7 @@ import com.gic.haoban.manage.service.service.WxEnterpriseService;
@Service
public class WxEnterpriseApiServiceImpl implements WxEnterpriseApiService {
private static final Logger log = LogManager.getLogger(WxEnterpriseApiServiceImpl.class);
@Autowired
private WxEnterpriseService wxEnterpriseService;
@Autowired
......@@ -35,7 +38,8 @@ public class WxEnterpriseApiServiceImpl implements WxEnterpriseApiService {
@Override
public void callbackReviceEnterprise(QywxCorpInfoSimpleDTO dto) {
WxEnterpriseDTO wxDTO = EntityUtil.changeEntityByJSON(WxEnterpriseDTO.class, dto.getClass());
log.info("企业微信授权信息:{}", JSON.toJSONString(dto));
WxEnterpriseDTO wxDTO = EntityUtil.changeEntityByJSON(WxEnterpriseDTO.class, dto);
String wxEnterpriseId = wxEnterpriseService.add(wxDTO);
......@@ -65,9 +69,7 @@ public class WxEnterpriseApiServiceImpl implements WxEnterpriseApiService {
tab.setPermanentCode(permanentCode);
wxApplicationService.update(tab);
}
log.info("企业微信授权处理完成");
}
@Override
......
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