Home > Backend Development > PHP Tutorial > 微信js-SDK,图片上传能否限制上传的张数

微信js-SDK,图片上传能否限制上传的张数

WBOY
Release: 2016-06-06 20:38:53
Original
1198 people have browsed it

微信js-SDK,图片上传能否限制上传的张数

回复内容:

微信js-SDK,图片上传能否限制上传的张数

上传应该是没有限制的,但是只能在微信服务器存储3天时间,所以上传到微信服务器之后要再下载到自己服务器,教程http://mp.weixin.qq.com/wiki/12/58bfcfabbd501c7cd77c19bd9cfa8354.html

可以限制张数,在js-sdk中调用上传图片的function时:

<code>wx.chooseImage({
        count: 1, // 默认9 这是张数限制
})</code>
Copy after login
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template