feat: 完善档案删除与追溯码筛选
This commit is contained in:
@@ -34,6 +34,7 @@ export const ErrorCode = {
|
||||
CERTIFICATE_NOT_FOUND: 3012,
|
||||
JOB_NOT_FOUND: 3013,
|
||||
BATCH_NOT_FOUND: 3014,
|
||||
ARTWORK_IN_USE: 3015,
|
||||
} as const;
|
||||
|
||||
export type ErrorCodeValue = (typeof ErrorCode)[keyof typeof ErrorCode];
|
||||
@@ -67,4 +68,5 @@ export const ErrorMessage: Record<number, string> = {
|
||||
[ErrorCode.CERTIFICATE_NOT_FOUND]: '认证文件不存在',
|
||||
[ErrorCode.JOB_NOT_FOUND]: '任务不存在',
|
||||
[ErrorCode.BATCH_NOT_FOUND]: '批次不存在',
|
||||
[ErrorCode.ARTWORK_IN_USE]: '艺术品档案已有业务数据,无法删除',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user