为什么我调用这个cdn方法, 给我返回来的地址就直接是我传给他的地址呢?
大图片用wx.cloud.CDN,返回的URL在云函数怎么把图片下载下来并上传云存储?1、现在已经在云函数接收到wx.cloud.CDN返回的URL了,如下: http://vweixinf.tc.qq.com/301/20303/stodownload?m=21310b386f8f96354a3934936661dc87&filekey=30350201010421301f0202012d0402535a041021310b386f8f96354a3934936661dc87020300d9c4040d00000004627466730000000131&hy=SZ&storeid=323032303039303831303531323130303031643961373839626234316361626366343566303930303030303132643030303034663466&bizid=1023 2、上传云存储用的API是cloud.uploadFile,入参是:[图片] uploadFile接收的fileContent是Buffer或fs.ReadStream类型 问题:怎样把wx.cloud.CDN的URL变成Buffer或fs.ReadStream类型,即在云函数中怎样把链接里面的数据下载下来并上传到云存储?
2022-12-29修改调试基础库版本对我有用,感谢
define is not defined?请教,微信web工具生成的小程序框架,报告Uncaught ReferenceError: define is not defined,原因是什么? util.js:1 Uncaught ReferenceError: define is not defined(anonymous function) @ util.js:1 app.js:1 Uncaught ReferenceError: define is not defined(anonymous function) @ app.js:1 index.js:1 Uncaught ReferenceError: define is not defined(anonymous function) @ index.js:1 appservice:16 Sun Jul 23 2017 21:40:57 GMT+0800 (中国标准时间) page 编译错误 appservice:17 pages/index/index 出现脚本错误或者未正确调用 Page()(anonymous function) @ appservice:17 logs.js:1 Uncaught ReferenceError: define is not defined(anonymous function) @ logs.js:1 appservice:22 Sun Jul 23 2017 21:40:57 GMT+0800 (中国标准时间) page 编译错误 appservice:23 pages/logs/logs 出现脚本错误或者未正确调用 Page()
2022-06-02