20230229
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user