Commit 91615970 by 陶光胜

加日志

parent cce50030
...@@ -34,7 +34,8 @@ public class ApplicationController extends WebBaseController{ ...@@ -34,7 +34,8 @@ public class ApplicationController extends WebBaseController{
@RequestMapping("get-auth-url") @RequestMapping("get-auth-url")
public HaobanResponse getAuthUrl(){ public HaobanResponse getAuthUrl(){
String suiteId = GlobalVar.ctxPropertiesMap.get("suiteId"); //String suiteId = GlobalVar.ctxPropertiesMap.get("suiteId");
String suiteId = "ww7d6566614055cf27";
log.info("应用ID:{}", suiteId); log.info("应用ID:{}", suiteId);
String redictUrl = "http://gicdev.demogic.com/haoban-manage3-web/callback"; String redictUrl = "http://gicdev.demogic.com/haoban-manage3-web/callback";
String authorizationUrl = this.qywxSuiteApiService.getGrantAuthorizationUrl(suiteId, redictUrl); String authorizationUrl = this.qywxSuiteApiService.getGrantAuthorizationUrl(suiteId, redictUrl);
...@@ -44,7 +45,7 @@ public class ApplicationController extends WebBaseController{ ...@@ -44,7 +45,7 @@ public class ApplicationController extends WebBaseController{
@RequestMapping("callback") @RequestMapping("callback")
@IgnoreLogin @IgnoreLogin
public HaobanResponse callback(String code){ public HaobanResponse callback(String code){
String suiteId = GlobalVar.ctxPropertiesMap.get("suiteId"); String suiteId = String suiteId = "ww7d6566614055cf27";
String result = this.qywxSuiteApiService.corpAuth(suiteId, code); String result = this.qywxSuiteApiService.corpAuth(suiteId, code);
return resultResponse(HaoBanErrCode.ERR_1, result); return resultResponse(HaoBanErrCode.ERR_1, result);
} }
......
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