Commit 4d741156 by jinxin

getWxSuiteid修改

parent bd3c12f1
......@@ -1798,7 +1798,7 @@ public class WxStaffController extends WebBaseController {
*/
@RequestMapping("get-third-auth-url")
public HaobanResponse getAuthUrl() {
String suiteId = config.getSuiteId();
String suiteId = config.getWxSuiteid();
logger.info("通讯录应用ID:{}", suiteId);
String redictUrl = config.getHost() + "third-callback";
String authorizationUrl = qywxCorpApiService.getAuthorizationUrl(suiteId,redictUrl,"snsapi_privateinfo");
......@@ -1812,7 +1812,7 @@ public class WxStaffController extends WebBaseController {
@RequestMapping("third-callback")
public void getAuthUrl(String code) {
logger.info("获取第三方应用用户敏感信息企微回调的code:{}", code);
String suiteId = config.getSuiteId();
String suiteId = config.getWxSuiteid();
ServiceResponse<UserSensitiveInfoDTO> dto = qywxUserApiService.getUserSensitiveInfoDTOByCode(code, suiteId);
UserSensitiveInfoDTO result = dto.getResult();
//更新staff的qr_code
......
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