Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于imProcess云函数部署问题 #5

Closed
zihammmm opened this issue May 26, 2021 · 4 comments
Closed

关于imProcess云函数部署问题 #5

zihammmm opened this issue May 26, 2021 · 4 comments
Assignees

Comments

@zihammmm
Copy link

你好~我是南京大学猫谱小程序的开发者,fork了你们的仓库。我在上传imProcess时,部署所有文件会遇到请求体过大的错误,请问你们是怎么解决的?

错误信息:
Error: TencentCloud API error: {"Response":{"Error":{"Code":"RequestSizeLimitExceeded","Message":"Your current request size exceed max 10485760B, but your 62340007B."},"RequestId":"d849c5a8-01b6-4c22-89d4-65f3c891eef1"}}

@jxzhn
Copy link
Collaborator

jxzhn commented May 27, 2021

我发现我们现在也传不上去了,可能需要研究一下新的解决方案。不部署这个云函数不影响程序正常使用,在审核通过新的猫猫图片后,使用“关于页-管理后台-图片处理”页面在前端完成图片压缩和水印处理上传到后台即可

@zihammmm
Copy link
Author

zihammmm commented May 27, 2021 via email

@jxzhn
Copy link
Collaborator

jxzhn commented May 27, 2021

你可以尝试一下在 腾讯云控制台 中使用小程序公众账号登录云开发控制台,里面可以上传 50MB 的 zip 格式代码压缩包,imProcess 文件夹打包之后应该不到 50MB

@zihammmm
Copy link
Author

zihammmm commented May 27, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants