怎么解决云函数返回的图片数据过大呢?

小程序 文章 2022-03-05 16:00 284 0 全屏看文

AI助手支持GPT4.0

怎么解决云函数返回的图片数据过大呢?How to solve the problem that the image data returned by the cloud function is too large?

怎么解决云函数返回的图片数据过大呢?

云函数返回有1m的限制,那有没有什么办法解决因返回的图片数据超过限制而使云函数调用失败的方法呢?

There is a 1m limit on the return of cloud functions. Is there any way to solve the failure of cloud function calls because the returned image data exceeds the limit?

回答:

Mr.Zhao:

返回图片地址

起者王也:没有地址,只有base64
Mr.Zhao:你上传到云存储里不就有了
热合木吐拉:653129197008140117
VBit:

用云存储解决一下

15:

1M分分钟就超了啊老哥,还是返回地址比较合理

-EOF-

AI助手支持GPT4.0