{ "auth_code": "xxxxx" }
curl --location --request POST 'http://127.0.0.1/cgi-bin/service/get_login_info?access_token=PROVIDER_ACCESS_TOKEN' \ --header 'Content-Type: application/json' \ --data-raw '{ "auth_code": "xxxxx" }'
{ "errcode": 0, "agent": [ { "agentid": 0, "auth_type": 0 } ], "user_info": { "name": "string", "avatar": "string", "open_userid": "string", "userid": "string" }, "errmsg": "string", "usertype": 0, "corp_info": { "corpid": "string" }, "auth_info": { "department": [ { "id": 0, "writable": true } ] } }