From a0402d122fee696e2b7684ef7edfc504ade12640 Mon Sep 17 00:00:00 2001 From: chengkun <chengkun@ishangstudy.com> Date: Sun, 27 Apr 2025 15:23:27 +0800 Subject: [PATCH] 提交 --- app/include/yunqrcode.class.php | 26 +++++++------------------- 1 files changed, 7 insertions(+), 19 deletions(-) diff --git a/app/include/yunqrcode.class.php b/app/include/yunqrcode.class.php index 5f04ce3..516e0ac 100644 --- a/app/include/yunqrcode.class.php +++ b/app/include/yunqrcode.class.php @@ -1,21 +1,9 @@ <?php -/* -* $Author :PHPYUN开发团队 -* -* 官网: http://www.phpyun.com -* -* 版权所有 2009-2021 宿迁鑫潮信息技术有限公司,并保留所有权利。 -* -* 软件声明:未经授权前提下,不得用于商业运营、二次开发以及任何形式的再次发布。 - */ + class YunQrcode { - - //不保存成图片文件 - static function generatePng2($inputContent,$size){ - require_once LIB_PATH."phpqrcode.php"; - return QRcode::png($inputContent, false, QR_ECLEVEL_L, $size); - } -} - - -?> \ No newline at end of file + //不保存成图片文件 + static function generatePng2($inputContent, $size) { + require_once LIB_PATH . "phpqrcode.php"; + return QRcode::png($inputContent, FALSE, QR_ECLEVEL_L, $size); + } +} \ No newline at end of file -- Gitblit v1.9.0