|
@@ -347,7 +347,7 @@ public class QrBoxMappingServiceImpl implements QrBoxMappingService {
|
|
// //判断有没有中文标题
|
|
// //判断有没有中文标题
|
|
// Pattern p = Pattern.compile("[\u4e00-\u9fa5]");
|
|
// Pattern p = Pattern.compile("[\u4e00-\u9fa5]");
|
|
// Matcher m = p.matcher(encryptCodeStr);
|
|
// Matcher m = p.matcher(encryptCodeStr);
|
|
- if (reader.getLineNumber()>1) {
|
|
|
|
|
|
+ if (reader.getLineNumber()>2) {
|
|
if (encryptCodeStr.contains(",")) {
|
|
if (encryptCodeStr.contains(",")) {
|
|
throw new BusinessException("码包文件格式错误,建议每行一个码!");
|
|
throw new BusinessException("码包文件格式错误,建议每行一个码!");
|
|
}
|
|
}
|