钉钉提供的DLL 只是封装GetDingAccessToken()的方法用于取到access_token,开发文档里有直接get方法 https://oapi. 可以取到access_token
开放文档:
https://developers.
用:cUrl = "https://oapi.
oHttp = CREATEOBJECT("MSXML2.XMLHTTP")
oHttp.Open("GET", cUrl, .F.)
oHttp.Send()
cTxt = oHttp.ResponseText
thisform.edit1.Value=cTxt
VFP里我得到的返回值是JSON,像这样:{"errcode":0,"access_token":"d59be116bcf7321b955e50196e4e45fa","errmsg":"ok","expires_in":7200}
VFP里有什么方法取到access_token 返回值 d59be116bcf7321b955e50196e4e45fa
开放文档:
https://developers.
用:cUrl = "https://oapi.
oHttp = CREATEOBJECT("MSXML2.XMLHTTP")
oHttp.Open("GET", cUrl, .F.)
oHttp.Send()
cTxt = oHttp.ResponseText
thisform.edit1.Value=cTxt
VFP里我得到的返回值是JSON,像这样:{"errcode":0,"access_token":"d59be116bcf7321b955e50196e4e45fa","errmsg":"ok","expires_in":7200}
VFP里有什么方法取到access_token 返回值 d59be116bcf7321b955e50196e4e45fa
[此贴子已经被作者于2021-12-2 10:22编辑过]