请问解决了吗?我微信公众号发布的文章,微信小程序获取不到。是分群发和非群发吗
通过cgi-bin/freepublish/batchget接口查询不到公众号发表的文章?通过接口 https://api.weixin.qq.com/cgi-bin/freepublish/batchget?access_token=ACCESS_TOKEN 查询公众号发表的文章,只能查询到很久之前的几条历史数据。最新发表的文章获取不到。 [图片]
08-12感觉微信公众号的文章API功能很是鸡肋~~~
通过公众号后台发布的文章哪里能看到article_id 还是压根就没有article_id?通过公众号后台发布的文章哪里能看到article_id 还是压根就没有article_id?那我菜单怎么配置这个文章呢?
06-12请问您解决了这个问题了吗??有谁能回答一下
下载pdf文件,wx.saveFile()保存到本地找不到文件?下载pdf,可以打开预览,但是怎么保存到本地呢? 我使用wx.saveFile()保存,但是在手机中找不到相关的文件路径. [图片] [代码]downloadPdf() {[代码][代码] [代码][代码]var[代码] [代码]that = [代码][代码]this[代码][代码];[代码][代码] [代码][代码]wx.downloadFile({[代码][代码] [代码][代码]url: [代码][代码]'https://mina.emingfeng.com/stu.pdf'[代码][代码],[代码][代码] [代码][代码]header: {},[代码][代码] [代码][代码]success: [代码][代码]function[代码][代码](res) {[代码][代码] [代码][代码]console.log([代码][代码]"下载---success---"[代码][代码], res)[代码][代码] [代码][代码]var[代码] [代码]path = res.tempFilePath;[代码][代码] [代码][代码]wx.saveFile({[代码][代码] [代码][代码]tempFilePath: path,[代码][代码] [代码][代码]success: [代码][代码]function[代码][代码](res) {[代码][代码] [代码][代码]console.log([代码][代码]'保存文件到本地----success---'[代码][代码], res);[代码][代码] [代码][代码]var[代码] [代码]savedFilePath = res.savedFilePath;[代码][代码] [代码][代码]that.setData({[代码][代码] [代码][代码]pdfPath: savedFilePath[代码][代码] [代码][代码]})[代码][代码] [代码][代码]},[代码][代码] [代码][代码]fail: [代码][代码]function[代码][代码](res) {[代码][代码] [代码][代码]console.log([代码][代码]'保存文件到本地----success---'[代码][代码], res);[代码][代码] [代码][代码]},[代码][代码] [代码][代码]complete: [代码][代码]function[代码][代码](res) {[代码][代码] [代码][代码]console.log([代码][代码]'保存文件到本地----success---'[代码][代码], res);[代码][代码] [代码][代码]},[代码][代码] [代码][代码]})[代码][代码] [代码][代码]},[代码][代码] [代码][代码]fail: [代码][代码]function[代码][代码](res) {[代码][代码] [代码][代码]console.log([代码][代码]"下载---fail---"[代码][代码], res)[代码][代码] [代码][代码]},[代码][代码] [代码][代码]complete: [代码][代码]function[代码][代码](res) {[代码][代码] [代码][代码]console.log([代码][代码]"下载---complete---"[代码][代码], res)[代码][代码] [代码][代码]},[代码][代码] [代码][代码]})[代码][代码]},[代码] [代码]openPdf(e) {[代码][代码] [代码][代码]var[代码] [代码]x = [代码][代码]this[代码][代码].data.pdfPath;[代码][代码] [代码][代码]wx.openDocument({[代码][代码] [代码][代码]filePath: x,[代码][代码] [代码][代码]fileType: [代码][代码]'pdf'[代码][代码],[代码][代码] [代码][代码]success: [代码][代码]''[代码][代码],[代码][代码] [代码][代码]fail: [代码][代码]''[代码][代码],[代码][代码] [代码][代码]complete: [代码][代码]''[代码][代码],[代码][代码] [代码][代码]})[代码][代码]}[代码]
05-27