This commit is contained in:
parent
4a89d1bbf0
commit
b3e90a6463
|
|
@ -580,7 +580,7 @@ public class MaterialLeaseInfoServiceImpl implements MaterialLeaseInfoService {
|
||||||
}
|
}
|
||||||
|
|
||||||
// 1. 准备二维码文本
|
// 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
|
// 2. 生成二维码 BitMatrix
|
||||||
BitMatrix bitMatrix = new MultiFormatWriter().encode(qrText, BarcodeFormat.QR_CODE, qrSize, qrSize, hints);
|
BitMatrix bitMatrix = new MultiFormatWriter().encode(qrText, BarcodeFormat.QR_CODE, qrSize, qrSize, hints);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue