design Single 允许画笔修改sketch后进行design

This commit is contained in:
2024-06-05 11:43:35 +08:00
parent 891f6fb15f
commit 954f6207ec
6 changed files with 70 additions and 5 deletions

View File

@@ -2626,7 +2626,7 @@ public class PythonService {
if (StringUtil.isNullOrEmpty(colorImg)){
throw new BusinessException("The base64 data of the image is empty");
}
minioPath = minioUtil.base64Upload(colorImg, gradientBucketName);
minioPath = minioUtil.base64UploadToPath(colorImg, gradientBucketName,null);
designSingleItem.getGradient().setColorImg(null);
gradientString = JSONObject.toJSONString(designSingleItem.getGradient());