This commit is contained in:
2023-08-29 18:56:49 +08:00
parent 6b420b5bd8
commit 6c19bf6a3e
56 changed files with 2342 additions and 2166 deletions
@@ -36,7 +36,7 @@ namespace FineUIPro.Web.Controls
string filePath = this.FileUrl + urlName + ".jpg";
if (!File.Exists(Funs.RootPath + filePath))
{
this.CreateCode_Simple(Request.Params["strValue"], urlName);
this.CreateCode_Simple(System.Web.HttpUtility.UrlDecode(Request.Params["strValue"]), urlName);
}
this.divBeImageUrl.InnerHtml = UploadAttachmentService.ShowImage("../", filePath, 280, 280);
@@ -54,7 +54,7 @@ namespace FineUIPro.Web.Controls
QRCodeEncoder qrCodeEncoder = new QRCodeEncoder
{
QRCodeEncodeMode = QRCodeEncoder.ENCODE_MODE.BYTE,
QRCodeScale = nr.Length,
QRCodeScale = nr.Length>30?30:nr.Length,
QRCodeVersion = 0,
QRCodeErrorCorrect = QRCodeEncoder.ERROR_CORRECTION.M
};