Commit 9b163c45 by 陶光胜

加日志

parent 1e18dac8
......@@ -39,7 +39,7 @@ public class WxEnterpriseApiServiceImpl implements WxEnterpriseApiService {
@Override
public void callbackReviceEnterprise(QywxCorpInfoSimpleDTO dto) {
log.info("企业微信授权信息:{}", JSON.toJSONString(dto));
WxEnterpriseDTO wxDTO = EntityUtil.changeEntityByJSON(WxEnterpriseDTO.class, dto.getClass());
WxEnterpriseDTO wxDTO = EntityUtil.changeEntityByJSON(WxEnterpriseDTO.class, dto);
String wxEnterpriseId = wxEnterpriseService.add(wxDTO);
......@@ -69,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