获取小程序临时素材的media_id?报错media data missing hint

发布于 4 年前作者 xiaojun11856 次浏览最后编辑 4 年前来自 ask

这是打印的那个$aFile

2 回复
guiyingwu
guiyingwu1 楼4 年前

你好,麻烦复制下返回的rid

min94
min942 楼1 个月前

确定上传成功了?打印$aResult看看

另外,看下文档吧,传参那块,不应该是本地路径吗?

https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/customer-message/customerServiceMessage.uploadTempMedia.html