Commit c23c7ad2 by 陶光胜

加日志

parent dc199d8c
......@@ -52,10 +52,10 @@ public class ApplicationController extends WebBaseController{
@RequestMapping("callback")
@IgnoreLogin
public HaobanResponse callback(String code){
public HaobanResponse callback(String auth_code){
String suiteId = "ww7d6566614055cf27";
String result = this.qywxSuiteApiService.corpAuth(suiteId, code);
log.info("企业微信回调结果:{}. {}", code, result);
String result = this.qywxSuiteApiService.corpAuth(suiteId, auth_code);
log.info("企业微信回调结果:{}. {}", auth_code, result);
QywxCorpInfoDTO dto = JSON.parseObject(result, QywxCorpInfoDTO.class);
WxApplicationDTO applicationDTO = new WxApplicationDTO();
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