提交修改

This commit is contained in:
quyixiao 2026-06-06 01:45:40 +08:00
parent 9ff21b0d3a
commit 6da6f778e3

View File

@ -19,10 +19,6 @@ public final class ImageInputUtils {
/** 百度 OCR 建议Base64 urlencode 前建议不超过 4M */
private static final int MAX_BASE64_LENGTH = 4 * 1024 * 1024;
private static final Pattern BASE64_CHARS = Pattern.compile("^[A-Za-z0-9+/=]+$");
/** 百度 url 参数建议上限 */
private static final int MAX_URL_LENGTH = 1024;
/** 百度 image 参数 urlencode 前建议上限(字符数) */
private static final int MAX_BASE64_LENGTH = 4 * 1024 * 1024;
private ImageInputUtils() {
}