feat: 完成分类、worksheet 接口开发,资源迁移到七牛

This commit is contained in:
R524809
2026-10-16 17:32:23 +08:00
parent e6ded00a4c
commit 8827110f2f
107 changed files with 12775 additions and 125 deletions
+13
View File
@@ -0,0 +1,13 @@
import { HttpException } from '@nestjs/common';
import type { ApiErrorReason } from '@doodle/contracts';
/** 仅由可信业务创建,过滤器只输出已登记原因,不透传第三方异常原文。 */
export class ApiException extends HttpException {
constructor(
status: number,
readonly reason: ApiErrorReason,
readonly retryAfterSeconds?: number,
) {
super({ reason }, status);
}
}