TASK: 全局异常优化;

This commit is contained in:
shahaibo
2023-10-31 14:07:43 +08:00
parent 68d28995b8
commit 44a30bf9b5
40 changed files with 517 additions and 211 deletions

View File

@@ -1,5 +1,6 @@
# 业务逻辑
system.error=System error!
system.busy=System busy!
userName.does.not.exist=UserName does not exist!
user.expired=User expired!
password.error=Password error!
@@ -16,40 +17,109 @@ get.moodBoards.data.is.mismatch=Get moodBoards data is mismatch!
get.printBoards.data.is.mismatch=Get printBoards data is mismatch!
get.sketchBoards.data.is.mismatch=Get sketchBoards data is mismatch!
the.number.of.PIN.top.or.bottom.or.outerwear.sketchBoard.cannot.be.more.than.8=The number of PIN top or bottom or outerwear sketchBoard cannot be more than 8!
modelPoint.not.find=ModelPoint not find!
modelPoint.not.found=ModelPoint not found!
attributeRetrieval.interface.exception=AttributeRetrieval interface exception, please try again later! If still failed after trying again please contact administrator!
design.interface.exception=Design interface exception, please try again later! If still failed after trying again please contact administrator!
processMannequins.interface.exception=ProcessMannequins interface exception, please try again later! If still failed after trying again please contact administrator!
designProcess.interface.exception=DesignProcess interface exception, please try again later! If still failed after trying again please contact administrator!
collection.not.find=Collection not find!
design.not.find=Design not find!
designItem.not.find=DesignItem not find!
userLikeGroup.not.find=UserLikeGroup not find!
oldElements.not.find=OldElements not find!
collection.not.found=Collection not found!
design.not.found=Design not found!
designItem.not.found=DesignItem not found!
userLikeGroup.not.found=UserLikeGroup not found!
old.elements.not.found=Old elements not found!
new.designItemDetails.not.found=New designItemDetails not found!
save.workspace.failed=Save workspace failed!
save.design.failed=Save design failed!
update.workspace.failed=Update workspace failed!
the.workspace.lastIndex.not.found=The workspace lastIndex not found!
the.workspaceName.already.exists=The workspaceName already exists!
unable.to.delete.the.workspace.you.are.currently.using=Unable to delete the workspace you are currently using!
enumeration.class.not.found=Enumeration class not found!
history.detail.not.found=History detail not found!
designItemDetails.not.found=DesignItemDetails not found!
designPythonOutfit.not.found=DesignPythonOutfit not found!
unknown.parameter.level1Type=Unknown parameter level1Type!
collectionElement.not.found=collectionElement not found!
select1.file.does.not.exist=Select1 file does not exist!
select2.file.does.not.exist=Select2 file does not exist!
generate.print.exception=Generate print exception!
generate.print.failed=Generate print failed!
collectionElements.not.found=CollectionElements not found!
batch.save.libraryList.failed=Batch save libraryList failed!
panTones.not.found=PanTones not found!
hsv.value.cannot.exceed.the.maximum.of.8=Hsv value cannot exceed the maximum of 8!
save.designItem.failed=Save designItem failed!
unknown.type=Unknown type!
unknown.operateType=Unknown operateType!
unknown.level1TypeEnum=Unknown level1TypeEnum!
the.id.value.is.out.of.range=The id value is out of range!
library.not.found=Library not found!
wrong.clothes.type=Wrong clothes type!
sysFile.not.found=SysFile not found!
librarys.not.found=Librarys not found!
groupDetails.not.found=GroupDetails not found!
history.not.found=History not found!
unknown.parameter.level2Type=Unknown parameter level2Type!
MARKETING_SKETCH.type.have.been.removed=MARKETING_SKETCH type have been removed!
unknown.modelType=Unknown modelType!
save.library.failed=Save library failed!
# 前端传参校验
singleOverall.cannot.be.empty=SingleOverall cannot be empty!
colorBoards.cannot.be.empty=ColorBoards cannot be empty!
systemScale.cannot.be.empty=SystemScale cannot be empty!
modelType.cannot.be.empty=ModelType cannot be empty!
modelSex.cannot.be.empty=ModelSex cannot be empty!
templateId.cannot.be.empty=TemplateId cannot be empty!
processId.cannot.be.empty=ProcessId cannot be empty!
timeZone.cannot.be.empty=TimeZone cannot be empty!
userId.cannot.be.empty=UserId cannot be empty!
email.cannot.be.empty=Email cannot be empty!
operationType.cannot.be.empty=OperationType cannot be empty!
password.cannot.be.empty=Password cannot be empty!
emailVerifyCode.cannot.be.empty=EmailVerifyCode cannot be empty!
loginType.cannot.be.empty=LoginType cannot be empty!
userName.cannot.be.empty=UserName cannot be empty!
operationType.cannot.be.empty=OperationType cannot be empty!
sketchBoards.designType.cannot.be.empty=SketchBoards designType cannot be empty!
moodBoards.designType.cannot.be.empty=MoodBoards designType cannot be empty!
printBoards.designType.cannot.be.empty=PrintBoards designType cannot be empty!
unknown.parameter.singleOverall=Unknown parameter singleOverall!
unknown.parameter.switchCategory=Unknown parameter switchCategory!
collectionId.cannot.be.empty=CollectionId cannot be empty!
designPythonOutfitId.cannot.be.empty=DesignPythonOutfitId cannot be empty!
designItemId.cannot.be.empty=DesignItemId cannot be empty!
designId.cannot.be.empty=DesignId cannot be empty!
groupDetailId.cannot.be.empty=GroupDetailId cannot be empty!
singleOverall.cannot.be.empty=singleOverall cannot be empty!
colorBoards.cannot.be.empty=colorBoards cannot be empty!
systemScale.cannot.be.empty=systemScale cannot be empty!
modelType.cannot.be.empty=modelType cannot be empty!
modelSex.cannot.be.empty=modelSex cannot be empty!
templateId.cannot.be.empty=templateId cannot be empty!
processId.cannot.be.empty=processId cannot be empty!
timeZone.cannot.be.empty=timeZone cannot be empty!
userId.cannot.be.empty=userId cannot be empty!
email.cannot.be.empty=email cannot be empty!
operationType.cannot.be.empty=operationType cannot be empty!
password.cannot.be.empty=password cannot be empty!
emailVerifyCode.cannot.be.empty=emailVerifyCode cannot be empty!
loginType.cannot.be.empty=loginType cannot be empty!
userName.cannot.be.empty=userName cannot be empty!
sketchBoards.designType.cannot.be.empty=sketchBoards designType cannot be empty!
moodBoards.designType.cannot.be.empty=moodBoards designType cannot be empty!
printBoards.designType.cannot.be.empty=printBoards designType cannot be empty!
unknown.parameter.singleOverall=unknown parameter singleOverall!
unknown.parameter.switchCategory=unknown parameter switchCategory!
collectionId.cannot.be.empty=collectionId cannot be empty!
designPythonOutfitId.cannot.be.empty=designPythonOutfitId cannot be empty!
designItemId.cannot.be.empty=designItemId cannot be empty!
designId.cannot.be.empty=designId cannot be empty!
groupDetailId.cannot.be.empty=groupDetailId cannot be empty!
validStartTime.cannot.be.empty=validStartTime cannot be empty!
validEndTime.cannot.be.empty=validEndTime cannot be empty!
user_id.cannot.be.empty=user_id cannot be empty!
session_id.cannot.be.empty=session_id cannot be empty!
rgbValue.cannot.be.empty=rgbValue cannot be empty!
file.cannot.be.empty=file cannot be empty!
select1Id.cannot.be.empty=select1Id cannot be empty!
select2Id.cannot.be.empty=select2Id cannot be empty!
isPin.cannot.be.empty=isPin cannot be empty!
designType.cannot.be.empty=designType cannot be empty!
priority.cannot.be.empty=priority cannot be empty!
clothes.cannot.be.empty=clothes cannot be empty!
isPreview.cannot.be.empty=isPreview cannot be empty!
h.cannot.be.empty=h cannot be empty!
s.cannot.be.empty=s cannot be empty!
v.cannot.be.empty=v cannot be empty!
userGroupId.cannot.be.empty=userGroupId cannot be empty!
userGroupName.cannot.be.empty=userGroupName cannot be empty!
libraryId.cannot.be.empty=libraryId cannot be empty!
shoulderLeft.cannot.be.empty=shoulderLeft cannot be empty!
shoulderRight.cannot.be.empty=shoulderRight cannot be empty!
waistbandLeft.cannot.be.empty=waistbandLeft cannot be empty!
waistbandRight.cannot.be.empty=waistbandRight cannot be empty!
handLeft.cannot.be.empty=handLeft cannot be empty!
handRight.cannot.be.empty=handRight cannot be empty!
id.cannot.be.empty=id cannot be empty!
type.cannot.be.empty=type cannot be empty!
color.cannot.be.empty=color cannot be empty!
generateDetailId.cannot.be.empty=generateDetailId cannot be empty!
level1Type.cannot.be.empty=level1Type cannot be empty!
regionNum.cannot.be.empty=regionNum cannot be empty!
phone.cannot.be.empty=phone cannot be empty!
printId.cannot.be.empty=printId cannot be empty!
path.cannot.be.empty=Path cannot be empty!

View File

@@ -1 +1,133 @@
system.error=系统错误!
system.error=系统错误!
system.busy=系统繁忙!
userName.does.not.exist=用户名不存在!
user.expired=用户已过期!
password.error=密码错误!
email.error=邮箱错误!
unknown.authentication.operation.type=未知的认证操作类型!
failed.to.send.mail=发送邮件失败!
email.does.not.exist=邮箱不存在!
unknown.login.type=未知的登录类型!
error.login.type=错误的登录类型!
the.verification.code.has.expired=验证码已过期!
verification.code.error=验证码错误!
user.has.bound.mailbox=用户已绑定邮箱!
get.moodBoards.data.is.mismatch=获取心情板数据不匹配!
get.printBoards.data.is.mismatch=获取印花板数据不匹配!
get.sketchBoards.data.is.mismatch=获取素描板数据不匹配!
the.number.of.PIN.top.or.bottom.or.outerwear.sketchBoard.cannot.be.more.than.8=上衣、裤子或外套素描板数量不能超过8
modelPoint.not.found=模型点未找到!
attributeRetrieval.interface.exception=属性检索接口异常,请稍后重试!如果重试后仍然失败,请联系管理员!
design.interface.exception=设计接口异常,请稍后重试!如果重试后仍然失败,请联系管理员!
processMannequins.interface.exception=处理模特接口异常,请稍后重试!如果重试后仍然失败,请联系管理员!
designProcess.interface.exception=设计流程接口异常,请稍后重试!如果重试后仍然失败,请联系管理员!
generate.interface.exception=生成接口异常,请稍后重试!如果重试后仍然失败,请联系管理员!
collection.not.found=集合未找到!
design.not.found=设计未找到!
designItem.not.found=设计项目未找到!
userLikeGroup.not.found=用户喜欢的组未找到!
old.elements.not.found=旧元素未找到!
new.designItemDetails.not.found=新设计项目详情未找到!
save.workspace.failed=保存工作空间失败!
save.design.failed=保存设计失败!
update.workspace.failed=更新工作空间失败!
the.workspace.lastIndex.not.found=工作空间的最后索引未找到!
the.workspaceName.already.exists=工作空间名已存在!
unable.to.delete.the.workspace.you.are.currently.using=无法删除当前正在使用的工作空间!
enumeration.class.not.found=枚举类未找到!
history.detail.not.found=历史详情未找到!
designItemDetails.not.found=设计项目详情未找到!
designPythonOutfit.not.found=设计Python服装未找到
unknown.parameter.level1Type=未知参数 level1Type
collectionElement.not.found=集合元素未找到!
select1.file.does.not.exist=选择的文件不存在!
select2.file.does.not.exist=选择的文件不存在!
generate.print.exception=生成印花异常!
generate.print.failed=生成印花失败!
collectionElements.not.found=集合元素未找到!
batch.save.libraryList.failed=批量保存库列表失败!
panTones.not.found=PanTones未找到
hsv.value.cannot.exceed.the.maximum.of.8=HSV 值不能超过最大值 8
save.designItem.failed=保存设计项目失败!
unknown.type=未知类型!
unknown.operateType=未知操作类型!
unknown.level1TypeEnum=未知 level1TypeEnum
the.id.value.is.out.of.range=id 值超出范围!
library.not.found=库未找到!
wrong.clothes.type=错误的服装类型!
sysFile.not.found=系统文件未找到!
librarys.not.found=库列表未找到!
groupDetails.not.found=组详情未找到!
history.not.found=历史记录未找到!
unknown.parameter.level2Type=未知参数 level2Type
MARKETING_SKETCH.type.have.been.removed=MARKETING_SKETCH 类型已被移除!
unknown.modelType=未知的模型类型!
save.library.failed=保存库失败!
get.file.failed=获取文件失败!
the.path.is.error=路径错误!
batch.save.colorElements.failed=批量保存颜色元素失败!
initSysFile.ioException=初始化系统文件异常!
save.sysFile.failed=保存系统文件失败!
save.pythonTAllInfo.failed=保存 PythonT 信息失败!
save.collection.failed=保存集合失败!
save.designItemDetail.failed=保存设计项目详情失败!
# 前端传参校验
singleOverall.cannot.be.empty=单体整体不能为空!
colorBoards.cannot.be.empty=颜色板不能为空!
systemScale.cannot.be.empty=系统规模不能为空!
modelType.cannot.be.empty=模型类型不能为空!
modelSex.cannot.be.empty=模型性别不能为空!
templateId.cannot.be.empty=模板ID不能为空
processId.cannot.be.empty=流程ID不能为空
timeZone.cannot.be.empty=时区不能为空!
userId.cannot.be.empty=用户ID不能为空
email.cannot.be.empty=邮箱不能为空!
operationType.cannot.be.empty=操作类型不能为空!
password.cannot.be.empty=密码不能为空!
emailVerifyCode.cannot.be.empty=邮箱验证码不能为空!
loginType.cannot.be.empty=登录类型不能为空!
userName.cannot.be.empty=用户名不能为空!
sketchBoards.designType.cannot.be.empty=素描板设计类型不能为空!
moodBoards.designType.cannot.be.empty=心情板设计类型不能为空!
printBoards.designType.cannot.be.empty=印花板设计类型不能为空!
unknown.parameter.singleOverall=未知参数 singleOverall
unknown.parameter.switchCategory=未知参数 switchCategory
collectionId.cannot.be.empty=集合ID不能为空
designPythonOutfitId.cannot.be.empty=设计Python服装ID不能为空
designItemId.cannot.be.empty=设计项目ID不能为空
designId.cannot.be.empty=设计ID不能为空
groupDetailId.cannot.be.empty=组详情ID不能为空
validStartTime.cannot.be.empty=有效开始时间不能为空!
validEndTime.cannot.be.empty=有效结束时间不能为空!
user_id.cannot.be.empty=用户ID不能为空
session_id.cannot.be.empty=会话ID不能为空
rgbValue.cannot.be.empty=RGB值不能为空
file.cannot.be.empty=文件不能为空!
select1Id.cannot.be.empty=选择1的ID不能为空
select2Id.cannot.be.empty=选择2的ID不能为空
isPin.cannot.be.empty=是否固定不能为空!
designType.cannot.be.empty=设计类型不能为空!
priority.cannot.be.empty=优先级不能为空!
clothes.cannot.be.empty=服装不能为空!
isPreview.cannot.be.empty=是否预览不能为空!
h.cannot.be.empty=H不能为空
s.cannot.be.empty=S不能为空
v.cannot.be.empty=V不能为空
userGroupId.cannot.be.empty=用户组ID不能为空
userGroupName.cannot.be.empty=用户组名称不能为空!
libraryId.cannot.be.empty=库ID不能为空
shoulderLeft.cannot.be.empty=左肩不能为空!
shoulderRight.cannot.be.empty=右肩不能为空!
waistbandLeft.cannot.be.empty=左腰带不能为空!
waistbandRight.cannot.be.empty=右腰带不能为空!
handLeft.cannot.be.empty=左手不能为空!
handRight.cannot.be.empty=右手不能为空!
id.cannot.be.empty=ID不能为空
type.cannot.be.empty=类型不能为空!
color.cannot.be.empty=颜色不能为空!
generateDetailId.cannot.be.empty=生成详情ID不能为空
level1Type.cannot.be.empty=级别1类型不能为空
regionNum.cannot.be.empty=区域号不能为空!
phone.cannot.be.empty=电话不能为空!
printId.cannot.be.empty=印花ID不能为空
path.cannot.be.empty=路径不能为空!