This commit is contained in:
hayu 2025-11-01 15:25:33 +08:00
parent 4a89d1bbf0
commit b3e90a6463
1 changed files with 1 additions and 1 deletions

View File

@ -580,7 +580,7 @@ public class MaterialLeaseInfoServiceImpl implements MaterialLeaseInfoService {
}
// 1. 准备二维码文本
String qrText = "http://ahjj.jypxks.com:9988/imw/backstage/machine/qrCodePage?qrcode=" + qrCode;
String qrText = BackstageApplication.getUrl() + "backstage/machine/qrCodePage?qrcode=" + qrCode;
// 2. 生成二维码 BitMatrix
BitMatrix bitMatrix = new MultiFormatWriter().encode(qrText, BarcodeFormat.QR_CODE, qrSize, qrSize, hints);