Commit 94129344 authored by liudong1993's avatar liudong1993

1

parent 5699d9c3
......@@ -853,7 +853,11 @@ namespace Mall.Module.Property
QRCodeHelper.CreateQRCode(QRCode, 5, "", QRPath, ImageFormat.Jpeg);
}
if (!File.Exists(TQRPath)) {
QRCodeHelper.CreateTQRCode(TQRCode, TQRPath, ImageFormat.Jpeg, 400, 80);
int width = 340;
if (TQRCode.Length > 30) {
width = 370;
}
QRCodeHelper.CreateTQRCode(TQRCode, TQRPath, ImageFormat.Jpeg, width, 50);
}
#endregion
for (int i = 0; i < (item.Number ?? 0); i++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment