Skip to content
liuJD edited this page Sep 5, 2014 · 1 revision

二维码

####创建带参数二维码 可以通过act_idact_typeget请求weixin/qrcode/create创建二维码图片,返回01. 二维码oss地址:etuan/weixin/qrcode/act_type/act_id.jpg ####更新带参数二维码 可以通过scene_id,act_idact_typeget请求weixin/qrcode/update更新二维码图片,返回01. ####创建带参数二维码 可以通过scene_idget请求*weixin/qrcode/destory删除二维码图片,返回01. ####创建二维码

QrcodeHandle::Authcode($url,$filename,$QR,$logo,$errorCorrectionLevel,$matrixPointSize)

######参数说明: @url 要生成二维码的内容. @filename 二维码图片文件名.非必须 @QR 是否输出图片,非必须. @logo logo图片地址,非必须. @errorCorrectionLevel 容错级别(L<M<Q<H),默认L. @matrixPointSize 二维码图片大小.默认为4 //默认不输出图片,图片可以直接答应道浏览器,若输出图片则返回图片地址。