- data-miniprogram-path 过长时 显示为明文
data-miniprogram-path 过长时会显示源代码。下面是发送的客服消息内容: <a data-miniprogram-appid='wx252e1619f38d3408' data-miniprogram-path='pages/shop/show?url=aHR0cDovL2hoZzEudG9sb2hvLTJmdGcudG9wL2FwcC8uL2luZGV4LnBocD9pPTEwMiZjPWVudHJ5JmFsc29ydD0yJmtleXdvcmQ9JUU2JUFDJUE3JUU2JTkzJThFUzIrJUU2JThBJTk1JUU1JUJEJUIxJUU0JUJCJUFBJUU1JUFFJUI2JUU3JTk0JUE4JUU1JUIwJThGJUU1JTlFJThCJUU0JUJFJUJGJUU2JTkwJUJBJUU1JUJDJThGJUU1JUFEJUE2JUU3JTk0JTlGJUU1JUFFJUJGJUU4JTg4JThEJUU1JThEJUE3JUU1JUFFJUE0JUU2JThBJTk1JUU1JUEyJTk5d2lmaSVFNiU4OSU4QiVFNiU5QyVCQSVFNiU4QSU5NSVFNSVCRCVCMSVFNCVCOCU4MCVFNCVCRCU5MyVFNiU5QyVCQTRLJTJGMTA4MFAlRTklQUIlOTglRTYlQjglODUlRTYlOTklQkElRTglODMlQkQlRTglQUYlQUQlRTklOUYlQjMlRTUlQUUlQjYlRTUlQkElQUQlRTUlQkQlQjElRTklOTklQTIlRTYlOTclQTAlRTUlQjElOEYlRTclOTQlQjUlRTglQTclODYlRTYlOUMlQkEmZG89c2VhcmNoJm09Z3lyb19zdGFydHVwJmd6aD1naF8zY2IzYTgyZTY1OTQ='>☞ 点此重查>></a
2020-06-15 - 微信第三方平台发布小程序返回47001 data format error错误
请求方式: POST(请使用https协议) https://api.weixin.qq.com/wxa/release?access_token=TOKEN POST数据示例: { } 参数说明: 请填写空的数据包,POST的json数据包为空即可。 我的PHP代码如下: $params=[]; $res = wxSend(self::RELEASE.$this->accessToken,json_encode($params));返回结果: array(2) { ["errcode"] => int(47001) ["errmsg"] => string(40) "data format error hint: [1ezoVa0568e626]" }请问是POST参数不对吗?正确的应该是如何的?
2017-09-12 - 打开文件函数wx.openDocument 无法执行
wx.downloadFile({ url: 'https://cynthianc.github.io/images/123.pdf', success: function (res) { var filePath = res.tempFilePath console.log(filePath); wx.openDocument({ filePath: filePath, success: function (res) { console.log('打开文档成功')//未输出日志 }, fail:function(err){ console.log(err) //未输出日志 }, complete:function(res){ console.log(res)//未输出日志 } }) console.log('sksk') }, complete:function(res){ console.log('complete'); } }) 下载成功了,输出文件路径 wxfile://tmp_933533898o6zAJs8zMUJpFzb4NLZk1YRn-xcg1487507216308.pdf 打开文件openDocument的几个回调函数都没输出日志,猜测这个函数没被执行,是什么问题呢?弄了好久也没找到解决办法!!急!!!!
2017-02-19