Commit 91615970 by 陶光胜

加日志

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