以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 求助:不能获取钉钉accessToken (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=158793) |
-- 作者:水墨青花 -- 发布时间:2020/12/2 17:04:00 -- 求助:不能获取钉钉accessToken 获取钉钉 AcessToken,返回错误:未定义类型“DingTalk.Api.DefaultDingTalkClient”。 请问如何才能执行如下代码? Dim client As DingTalk.Api.DefaultDingTalkClient = New DingTalk.Api.DefaultDingTalkClient("https://oapi.dingtalk.com/gettoken") Dim request As DingTalk.api.request.OapiGettokenRequest = New DingTalk.Api.request.OapiGettokenRequest() request.Appkey="dingbd9myi9y2cc9xgww" request.Appsecret="gWIwX5rtPEMMxpue2GWjk0aGEhugahPYGrACa8R3Cak7ALXWmqQ8qHX1Eaq47qbL" request.setHttpMethod("GET") Dim response As DingTalk.Api.Response.OapiGettokenResponse = client.execute(request)
|
-- 作者:有点蓝 -- 发布时间:2020/12/2 17:24:00 -- 调用的dll文件没有复制到foxtable的安装目录,也没有添加引用:http://www.foxtable.com/webhelp/topics/1936.htm |