{"errcode":41001,"errmsg":"access_token missing hint: [vqDZeA0872sz12!]"}
执行结果
{"access_token":"_DxA7FQX9By8dEtqBSiJGZ695SavKrl-B-jvDowqdEX_YNFDPYgzCUqVGONuL2zHgFYu8gSJm74pX00obbGcGo6NpLZkfm_Dqh3-44jfKFu_Ry1zlXfcNPjt2wmPO2o9HFPjAFADBL","expires_in":7200}
_DxA7FQX9By8dEtqBSiJGZ695SavKrl-B-jvDowqdEX_YNFDPYgzCUqVGONuL2zHgFYu8gSJm74pX00obbGcGo6NpLZkfm_Dqh3-44jfKFu_Ry1zlXfcNPjt2wmPO2o9HFPjAFADBL
{"errcode":41001,"errmsg":"access_token missing hint: [vqDZeA0872sz12!]"}
错误提示:{"errcode":41001,"errmsg":"access_token missing hint: [vqDZeA0872sz12!]"}
这个是过期提示啊,我刚获取马上过期,我很糊涂。
这个是asp源码:
shuju = "template_id=1&aa=b"
url = "https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=ACCESS_TOKEN"
'https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=XX&secret=XX
'获取 access_token
shuju = "grant_type=client_credential&appid=XX&secret=XX"
url = "https://api.weixin.qq.com/cgi-bin/token?"
jieguo = PostHTTPPage(url,shuju,"post") '获得 access_token
response.write jieguo & "<br>"
jieguo_er = split(jieguo,",")
jieguo_er2 = jieguo_er(0)
jieguo_er222 = split(jieguo_er2,Chr(34))
response.write "<br><br>"
access_token = jieguo_er222(3)
response.write jieguo_er222(3) '真的,access_token
'https://api.weixin.qq.com/cgi-bin/template/api_set_industry?access_token=ACCESS_TOKEN
response.write "<br><br>"
shuju = "access_token=3O6MBA_7lFQw7gdGbZ33MLSTgm8fYiGCxmfuNThWAntpoeJIksvgmbGYws-YQsMCc_nFYEancPPeDbdo99GA7w5mif2hE6EWd0-3PbMPLsqVtNhZUvJOU-ZD0UWnxjPFSCBhADAGQP"
url = "https://api.weixin.qq.com/cgi-bin/getcallbackip?"
jieguo22 = PostHTTPPage(url,shuju,"get") '获得 access_token
response.write jieguo22 & "<br>"
'shuju = "access_token=RTxWjwYCXKgoeiS74gqkZauP4TfaOQLByNwPxqFU_CPuX6_z_dg7w_O_K3s3-Zpu_RmEQ9DqpLPSAgj_oHfpKh12QR8NsZ56NaSD-KGtRNlAM3WtGwHmlRBySN5D6OyIYAQjAFAQSI"
'url = "https://api.weixin.qq.com/cgi-bin/message/template/send?"
function BytesToBstr(body,Cset)
dim objstream
set objstream = Server.CreateObject("adodb.stream")
objstream.Type = 1
objstream.Mode =3
objstream.Open
objstream.Write body
objstream.Position = 0
objstream.Type = 2
objstream.Charset = Cset
BytesToBstr = objstream.ReadText
objstream.Close
set objstream = nothing
End function
function PostHTTPPage(url,data,fangshi)
dim Http
set Http=server.createobject("MSXML2.SERVERXMLHTTP.3.0")
Http.open fangshi,url,false
Http.setRequestHeader "CONTENT-TYPE", "application/x-www-form-urlencoded"
Http.send(data)
if Http.readystate<>4 then
exit function
End if
PostHTTPPage=bytesToBSTR(Http.responseBody,"utf-8")
set http=nothing
if err.number<>0 then err.Clear
End function
{"access_token":"_DxA7FQX9By8dEtqBSiJGZ695SavKrl-B-jvDowqdEX_YNFDPYgzCUqVGONuL2zHgFYu8gSJm74pX00obbGcGo6NpLZkfm_Dqh3-44jfKFu_Ry1zlXfcNPjt2wmPO2o9HFPjAFADBL","expires_in":7200}
_DxA7FQX9By8dEtqBSiJGZ695SavKrl-B-jvDowqdEX_YNFDPYgzCUqVGONuL2zHgFYu8gSJm74pX00obbGcGo6NpLZkfm_Dqh3-44jfKFu_Ry1zlXfcNPjt2wmPO2o9HFPjAFADBL
{"errcode":41001,"errmsg":"access_token missing hint: [vqDZeA0872sz12!]"}
错误提示:{"errcode":41001,"errmsg":"access_token missing hint: [vqDZeA0872sz12!]"}
这个是过期提示啊,我刚获取马上过期,我很糊涂。
这个是asp源码:
shuju = "template_id=1&aa=b"
url = "https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=ACCESS_TOKEN"
'https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=XX&secret=XX
'获取 access_token
shuju = "grant_type=client_credential&appid=XX&secret=XX"
url = "https://api.weixin.qq.com/cgi-bin/token?"
jieguo = PostHTTPPage(url,shuju,"post") '获得 access_token
response.write jieguo & "<br>"
jieguo_er = split(jieguo,",")
jieguo_er2 = jieguo_er(0)
jieguo_er222 = split(jieguo_er2,Chr(34))
response.write "<br><br>"
access_token = jieguo_er222(3)
response.write jieguo_er222(3) '真的,access_token
'https://api.weixin.qq.com/cgi-bin/template/api_set_industry?access_token=ACCESS_TOKEN
response.write "<br><br>"
shuju = "access_token=3O6MBA_7lFQw7gdGbZ33MLSTgm8fYiGCxmfuNThWAntpoeJIksvgmbGYws-YQsMCc_nFYEancPPeDbdo99GA7w5mif2hE6EWd0-3PbMPLsqVtNhZUvJOU-ZD0UWnxjPFSCBhADAGQP"
url = "https://api.weixin.qq.com/cgi-bin/getcallbackip?"
jieguo22 = PostHTTPPage(url,shuju,"get") '获得 access_token
response.write jieguo22 & "<br>"
'shuju = "access_token=RTxWjwYCXKgoeiS74gqkZauP4TfaOQLByNwPxqFU_CPuX6_z_dg7w_O_K3s3-Zpu_RmEQ9DqpLPSAgj_oHfpKh12QR8NsZ56NaSD-KGtRNlAM3WtGwHmlRBySN5D6OyIYAQjAFAQSI"
'url = "https://api.weixin.qq.com/cgi-bin/message/template/send?"
function BytesToBstr(body,Cset)
dim objstream
set objstream = Server.CreateObject("adodb.stream")
objstream.Type = 1
objstream.Mode =3
objstream.Open
objstream.Write body
objstream.Position = 0
objstream.Type = 2
objstream.Charset = Cset
BytesToBstr = objstream.ReadText
objstream.Close
set objstream = nothing
End function
function PostHTTPPage(url,data,fangshi)
dim Http
set Http=server.createobject("MSXML2.SERVERXMLHTTP.3.0")
Http.open fangshi,url,false
Http.setRequestHeader "CONTENT-TYPE", "application/x-www-form-urlencoded"
Http.send(data)
if Http.readystate<>4 then
exit function
End if
PostHTTPPage=bytesToBSTR(Http.responseBody,"utf-8")
set http=nothing
if err.number<>0 then err.Clear
End function
...全文
相关推荐
技术转移机构有哪些能辅助社会资本决策的智能平台?.docx
技术转移机构有哪些能辅助社会资本决策的智能平台?
行星式扫描仪:纸质资源数字化驱动稳健增长,专业成像与高效采集塑造竞争优势.docx
行星式扫描仪:纸质资源数字化驱动稳健增长,专业成像与高效采集塑造竞争优势
龙头企业引进外部关键技术,经济效益为何难以准确评估?.docx
龙头企业引进外部关键技术,经济效益为何难以准确评估?
科技成果产业化流程是什么?推荐什么系统辅助管理?.docx
科易网(厦门科易网科技有限公司)创立于2007年,是技术转移与科技创新数智化服务平台,拥有国家科技成果转化服务示范基地、国家技术转移示范机构等资质。平台以“AI+科技成果转化”为核心,整合成果、专利、专家、政策等多维数据,构建知识图谱与科创智能体,面向企业、政府、高校院所提供成果转化、技术需求对接、产业服务等数智化解决方案。截至目前,已服务全国企业超43万家,推动落地项目11800余项,总金额逾80亿元。
CC-Switch-v3.14.1-Windows.zip
CC-Switch-v3.14.1-Windows.zip


