From 71733bad50f040ce7b9536944ffdf5394202d4fb Mon Sep 17 00:00:00 2001 From: duanygithub Date: Sun, 27 Oct 2024 14:15:24 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=99=BB=E9=99=86=E4=BA=8C?= =?UTF-8?q?=E7=BB=B4=E7=A0=81=E7=94=9F=E6=88=90=E5=8F=82=E6=95=B0#1171?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/DownKyi.Core/Utils/QRCode.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DownKyi.Core/Utils/QRCode.cs b/src/DownKyi.Core/Utils/QRCode.cs index d7e703fb..7ef7bc49 100644 --- a/src/DownKyi.Core/Utils/QRCode.cs +++ b/src/DownKyi.Core/Utils/QRCode.cs @@ -19,7 +19,7 @@ public static Bitmap EncodeQRCode(string msg, int version, int pixel, string ico { QRCoder.QRCodeGenerator code_generator = new QRCoder.QRCodeGenerator(); - QRCoder.QRCodeData code_data = code_generator.CreateQrCode(msg, QRCoder.QRCodeGenerator.ECCLevel.H/* 这里设置容错率的一个级别 */, true, false, QRCoder.QRCodeGenerator.EciMode.Utf8, version); + QRCoder.QRCodeData code_data = code_generator.CreateQrCode(msg, QRCoder.QRCodeGenerator.ECCLevel.L/* 这里设置容错率的一个级别 */, true, false, QRCoder.QRCodeGenerator.EciMode.Utf8, version); QRCoder.QRCode code = new QRCoder.QRCode(code_data);