|
@@ -151,7 +151,7 @@ public class FaceManagementController {
|
|
|
}
|
|
|
};
|
|
|
|
|
|
- Long maxSize = 2097152L;
|
|
|
+ Long maxSize = 1048576L;
|
|
|
byte[] resultImg = ImageUtil.compressUnderSize(file.getBytes(), maxSize);
|
|
|
|
|
|
return map.get(imgSuffix) + ImageUtil.bytesEncode2Base64(resultImg);
|