POST请求请在HTTP Header中设置 Content-Type:application/json,否则接口调用失败

 

获取AccessToken Https请求方式: GET https://oapi.dingtalk.com/gettoken?corpid=id&corpsecret=secrect

获取微应用后台管理Token Https请求方式: GET https://oapi.dingtalk.com/sso/gettoken?corpid=id&corpsecret=ssosecret

 

requestAuthCode获取到code

access_token 是通过corpid和corpsecret获取的,

在通过dd.runtime.permission.requestAuthCode获取到code后,去调用user/getuserinfo获取用户信息