curl --location --globoff 'https://qyapi.weixin.qq.com/cgi-bin/user/convert_to_openid?access_token=' \ --header 'Content-Type: application/json' \ --data '{"userid":"zhangsan"}'
{"errcode":0,"errmsg":"ok","openid":"oDjGHs-1yCnGrRovBj2yHij5JAAA"}