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!