diff --git a/二维码.md b/二维码.md index abe0ef6..341fd9a 100644 --- a/二维码.md +++ b/二维码.md @@ -23,6 +23,7 @@ $qrcode = new QRCode($appId, $secret); + `Bag temporary($sceneId, $expireSeconds = null)` 创建临时二维码; + `Bag forever($sceneValue, $type = self::SCENE_QR_FOREVER)` 创建永久二维码,`$type`: `QR_LIMIT_SCENE` 为永久, `QR_LIMIT_STR_SCENE` 为永久的字符串参数值; ++ `Bag card(array $card)` 创建卡券二维码 + `string show($ticket)` 获取二维码网址,用法: ``; + `void download($ticket, $filename)` 下载二维码到本地,`$filename` 为带文件名的目标路径;