BUGFIX:1、design 渐变色没存 2、展示文本更新 3、取消拼贴图入参日志打印

This commit is contained in:
2025-06-25 17:10:56 +08:00
parent 84691f45b5
commit 443b557623
4 changed files with 8 additions and 8 deletions

View File

@@ -280,11 +280,7 @@ public class CollectionServiceImpl extends ServiceImpl<CollectionMapper, Collect
}
d.setRgbValue(o.getColorRgb());
// 渐变色
Gradient gradient = JSONObject.parseObject(o.getGradientString(), Gradient.class);
if (!Objects.isNull(gradient) && !StringUtil.isNullOrEmpty(gradient.getColorImg())){
gradient.setColorImg(null);
}
d.setGradient(gradient);
d.setGradient(JSONObject.parseObject(o.getGradientString(), Gradient.class));
});
}
}

View File

@@ -1361,7 +1361,7 @@ public class GenerateServiceImpl extends ServiceImpl<GenerateMapper, Generate> i
*/
@Transactional(rollbackFor = Exception.class)
public GenerateResultVO sketchReconstructionGenerate(SketchReconstructionDTO sketchReconstructionDTO){
log.info("sketchReconstructionGenerate params: {}", sketchReconstructionDTO);
// log.info("sketchReconstructionGenerate params: {}", sketchReconstructionDTO);
Long accountId = UserContext.getUserHolder().getId();
// 1、线稿生成

View File

@@ -2128,6 +2128,10 @@ public class UserLikeGroupServiceImpl extends ServiceImpl<UserLikeGroupMapper, U
collectionElement.setHasPin((byte) 0);
collectionElement.setColorRgb(board.getRgbValue());
collectionElement.setMd5("0");
// 渐变色
if (!Objects.isNull(board.getGradient()) && !StringUtil.isNullOrEmpty(board.getGradient().getColorImg())){
board.getGradient().setColorImg(null);
}
collectionElement.setGradientString(JSON.toJSONString(board.getGradient()));
collectionElement.setCreateDate(new Date());
collectionElementMapper.insert(collectionElement);

View File

@@ -207,8 +207,8 @@ BLOUSE=Blouse
DRESS=Dress
TROUSERS=Trousers
SKIRT=Skirt
FEMALE=Women's wear
MALE=Men's wear
FEMALE=Women's Fashion
MALE=Men's Fashion
SLOGAN=Slogan
LOGO=Logo