Commit 83b3f8fe by jinxin

回调接口增加返回

parent 74a74a18
......@@ -1813,7 +1813,7 @@ public class WxStaffController extends WebBaseController {
* @param code
*/
@RequestMapping("third-callback")
public void getAuthUrl(String code,String state) {
public HaobanResponse getAuthUrl(String code,String state) {
logger.info("获取第三方应用用户敏感信息企微回调的code:{},state:{}", code,state);
String suiteId = config.getWxSuiteid();
ServiceResponse<UserSensitiveInfoDTO> dto = qywxUserApiService.getUserSensitiveInfoDTOByCode(code, suiteId);
......@@ -1823,6 +1823,7 @@ public class WxStaffController extends WebBaseController {
logger.info("成员的user_id:{},qr_code:{}", result.getUserid(),result.getQr_code());
staffApiService.updateQrCodeByStaffId(result.getUserid(), result.getQr_code());
}
return resultResponse(HaoBanErrCode.ERR_1);
}
/**
* 判断成员是否授权获取敏感信息
......
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