时至今日,我还存在同样的问题
阿里云CDN+OSS,图片上传OSS后,小程序环境下通过Image标签访问图片访问出现404错误?生成的图片地址,小程序模拟器访问没有问题,pc浏览器也没问题。但是开发版环境和线上环境中,无法访问图片资源,显示404错误,有哪位大神遇到过? 模拟器访问响应消息头: Request Method: GETStatus Code: 200 OKRemote Address: 60.217.246.219:443Referrer Policy: unsafe-urlResponse HeadersAccept-Ranges: bytesAli-Swift-Global-Savetime: 1666832845Connection: keep-aliveContent-Length: 15173Content-MD5: 4FD9USsqbh98/OuJ9aYScg==Content-Type: image/jpegDate: Thu, 27 Oct 2022 01:07:25 GMTEagleId: 3cd9f69616668328449463776eETag: "E050FD512B2A6E1F7CFCEB89F5A61272"Last-Modified: Tue, 25 Oct 2022 05:49:02 GMTServer: TengineTiming-Allow-Origin: *Via: cache30.l2cn1807[220,219,200-0,M], cache38.l2cn1807[221,0], kunlun10.cn2206[238,238,200-0,M], kunlun2.cn2206[240,0]X-Cache: MISS TCP_MISS dirn:-2:-2x-oss-cdn-auth: successx-oss-hash-crc64ecma: 16869370607212489153x-oss-object-type: Normalx-oss-request-id: 6359D9CD733AC83230F2A947x-oss-server-side-encryption: AES256x-oss-server-time: 52x-oss-storage-class: StandardX-Swift-CacheTime: 15552000X-Swift-SaveTime: Thu, 27 Oct 2022 01:07:25 GMTRequest Headersview sourceAccept: image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8Accept-Encoding: gzip, deflate, brConnection: keep-aliveHost: res.newcards.cnReferer: https://servicewechat.com/wx19538ac9c64f8072/devtools/page-frame.htmlSec-Fetch-Dest: imageSec-Fetch-Mode: no-corsSec-Fetch-Site: cross-siteUser-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1 wechatdevtools/1.06.2210141 MicroMessenger/8.0.5 Language/zh_CN webview/23 desktopapp miniprogram port/18052 token/a2a47d51de557da8114167277332611a runtime/2Query String Parametersview sourceview URL encodedOSSAccessKeyId: LTAI5tNe3WjfkdDrTmmgDLKrExpires: 1666836444Signature: hv1K5zudOMTonR742u0WCvhWEVk= 阿里云工程师从昨天下午一直在排查,到现在要我提供小程序里使用image标签 访问图片的响应消息头,我也不知道如何提供,问题还在搁置,请各位施以援手,谢谢 [图片]
2024-12-18我也踩坑了,还上生产了,坑的一笔
图片通过canvas .createImage()回调不返回值,开发工具正常?const canvas = wx.createOffscreenCanvas({type: '2d'}) const ctx = canvas.getContext('2d') const avatarImage = canvas.createImage() avatarImage.src = logo; avatarImage.onload = () => { } 真机只要调用过一次,就不会在onload中回调值,开发者工具正常。而且已经将图片先缓存到本地临时文件中。
2023-07-17我们项目也有同样问题,业务客户一早就炸了
小程序人脸识别接口报错,系统不可用[图片]
2020-08-31跟我遇到的问题,一模一样,但是我也没解决
RTMP ,PC版VLC可以正常播放,live-player黑屏 无提示?RTMP ,PC版VLC可以正常播放,live-player黑屏 无错误提示 代码 https://developers.weixin.qq.com/s/fgkqYZme7zgP [图片][图片] [图片][图片][图片][图片]
2020-06-12