微信小程序 图片上传响应很慢是什么原因?

小程序 文章 2021-03-13 21:21 1047 0 全屏看文

AI助手支持GPT4.0

微信小程序 图片上传响应很慢是什么原因?WeChat applet. Why is the picture upload response slow?

微信小程序 图片上传响应很慢是什么原因?

就是我上传图片给后台的时候,我要接受后台返回来的图片的media_id,但是现在的问题是后台传过来的慢还是我这边接收的慢,差不多有5秒以上数据才打印出来,求大神指教,这个是什么原因造成的,应该怎么处理比较合适,要不然会有bug以及用户体验的问题,谢谢了

When I upload pictures to the background, I want to accept the media of pictures returned from the background_ ID, but now the problem is whether the background transmission is slow or my reception is slow. It takes more than 5 seconds for the data to be printed out. Ask the God for advice, what is the reason for this, and how to deal with it. Otherwise, there will be bugs and user experience problems. Thank you

回答:

星程:o
黑夜白昼:

不要上传原图,选择图片后立刻上传,而不是点击上传按钮后再上传

Mr.Zhao:

自己查查network看看哪块时间长,你这么问,谁能回答

大原儿:噢噢,谢谢大神,
Mr.Zhao:跟同事搞好关系,接口响应快慢不用问网友,内部沟通下,排查下

-EOF-

AI助手支持GPT4.0