fix:适配新的生成,没有styleid的情况
All checks were successful
git commit 控制 连卡佛 back-java prod 分支构建部署 / build_and_deploy (push) Has been skipped
All checks were successful
git commit 控制 连卡佛 back-java prod 分支构建部署 / build_and_deploy (push) Has been skipped
This commit is contained in:
@@ -76,6 +76,9 @@ public class TryOnEffectServiceImpl extends ServiceImpl<TryOnEffectMapper, TryOn
|
||||
throw BusinessException.parameterRequired("originalTryOnId");
|
||||
}
|
||||
TryOnEffect originalTryOn = this.getById(originalTryOnId);
|
||||
if (tryOnEffectDto.getStyleId()==null){
|
||||
tryOnEffectDto.setStyleId(originalTryOn.getStyleId());
|
||||
}
|
||||
String resultImageUrl = originalTryOn.getResultImageUrl();
|
||||
imageUrls.add(resultImageUrl);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user