Commit 2c7af08a by jinxin

Merge remote-tracking branch 'origin/feature/获取用户敏感信息' into developer

parents c8d397a7 7bc2def3
......@@ -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");
......@@ -1810,9 +1810,9 @@ public class WxStaffController extends WebBaseController {
* @param code
*/
@RequestMapping("third-callback")
public void getAuthUrl(String code) {
logger.info("获取第三方应用用户敏感信息企微回调的code:{}", code);
String suiteId = config.getSuiteId();
public void getAuthUrl(String code,String state) {
logger.info("获取第三方应用用户敏感信息企微回调的code:{},state:{}", code,state);
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