|
|
|
@ -130,7 +130,7 @@ public class PrintLabelRecordServiceImpl extends ServiceImpl<PrintLabelRecordMap |
|
|
|
throw new RuntimeException("二维码格式不正确"); |
|
|
|
} |
|
|
|
String[] qrCode = qrCodeContent.split(";"); |
|
|
|
if (qrCode.length != 5){ |
|
|
|
if (qrCode.length != 5&&qrCode.length != 6){ |
|
|
|
throw new RuntimeException("二维码格式不正确"); |
|
|
|
} |
|
|
|
String site = qrCode[0]; |
|
|
|
|