From 30930729b6e696a59322b1acfa6fb701b6507128 Mon Sep 17 00:00:00 2001 From: zhangqi <2794379662@qq.com> Date: Wed, 21 Apr 2021 17:32:06 +0800 Subject: [PATCH] bugfix: --- QRCodeService/Services/ShortCodeService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QRCodeService/Services/ShortCodeService.cs b/QRCodeService/Services/ShortCodeService.cs index 61cbee4..a204e05 100644 --- a/QRCodeService/Services/ShortCodeService.cs +++ b/QRCodeService/Services/ShortCodeService.cs @@ -59,7 +59,7 @@ namespace QRCodeService.Services } if(length == 8) { - return BitConverter.ToInt32(result, 8 * index).ToBase62(); + return BitConverter.ToInt64(result, 8 * index).ToBase62(); } if(length == 16) {