Commit e8fefbad by 陶光胜

加日志

parent daa163eb
...@@ -55,7 +55,7 @@ public class ApplicationController extends WebBaseController{ ...@@ -55,7 +55,7 @@ public class ApplicationController extends WebBaseController{
public HaobanResponse callback(String code){ public HaobanResponse callback(String code){
String suiteId = "ww7d6566614055cf27"; String suiteId = "ww7d6566614055cf27";
String result = this.qywxSuiteApiService.corpAuth(suiteId, code); String result = this.qywxSuiteApiService.corpAuth(suiteId, code);
log.info("企业微信回调结果:{}. {}", code, JSON.toJSONString(result)); log.info("企业微信回调结果:{}. {}", code, result);
QywxCorpInfoDTO dto = JSON.parseObject(result, QywxCorpInfoDTO.class); QywxCorpInfoDTO dto = JSON.parseObject(result, QywxCorpInfoDTO.class);
WxApplicationDTO applicationDTO = new WxApplicationDTO(); WxApplicationDTO applicationDTO = new WxApplicationDTO();
WxEnterpriseDTO enterpriseDTO = this.wxEnterpriseApiService.getEnterpriseBycorpId(dto.getCorpid()); WxEnterpriseDTO enterpriseDTO = this.wxEnterpriseApiService.getEnterpriseBycorpId(dto.getCorpid());
......
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