Merge remote-tracking branch 'origin/dev/dev' into dev/dev
This commit is contained in:
@@ -252,7 +252,7 @@ public class ChatRobotServiceImpl implements ChatRobotService {
|
||||
throw new BusinessException("chat-bot.interface.exception");
|
||||
}
|
||||
}
|
||||
log.error("ChatRobot exception!");
|
||||
log.error("ChatRobot exception! 请求异常:{}", response);
|
||||
throw new BusinessException("chat-bot.interface.exception");
|
||||
}
|
||||
|
||||
|
||||
@@ -629,6 +629,7 @@ public class DesignServiceImpl extends ServiceImpl<DesignMapper, Design> impleme
|
||||
if (!SysFileLevel2TypeEnum.BODY.getRealName().equals(detail.getType()) && designItemDetail.getPrintPath() != null) {
|
||||
DesignItemDetailPrint print = new DesignItemDetailPrint();
|
||||
print.setDesignItemDetailId(designItemDetail.getId());
|
||||
print.setPrintType("print");
|
||||
print.setPath(designItemDetail.getPrintPath());
|
||||
print.setSingleOrOverall("overall");
|
||||
print.setPosition("[0.0,0.0]");
|
||||
|
||||
@@ -529,7 +529,12 @@ public class GenerateServiceImpl extends ServiceImpl<GenerateMapper, Generate> i
|
||||
if (generateThroughImageTextDTO.getLevel2Type().equals(CollectionLevel2TypeEnum.SLOGAN.getRealName())){
|
||||
if (StringUtil.isNullOrEmpty(generateThroughImageTextDTO.getSloganBase64())){
|
||||
log.error("Printboard-Slogan模式下,slogan image为空");
|
||||
throw new BusinessException("Slogan can not be empty!");
|
||||
throw new BusinessException("slogan.image.cannot.be.empty");
|
||||
}
|
||||
|
||||
if (StringUtil.isNullOrEmpty(generateThroughImageTextDTO.getText())){
|
||||
log.error("Printboard-Slogan模式下,slogan text为空");
|
||||
throw new BusinessException("slogan.style.cannot.be.empty");
|
||||
}
|
||||
|
||||
times = 1;
|
||||
|
||||
Reference in New Issue
Block a user