style: 统一项目代码格式

This commit is contained in:
que01 committed 2026-09-19 18:37:00 +08:00
1 parent f0836ec056
commit 718d357d88
8 files changed
+1012 -117

No files matched your search

+5 -2
View File
@@ -41,7 +41,8 @@ export class CreateServiceDto {
}
export class CreateTrustContentDto {
@IsIn(["profile", "experience", "credential", "portfolio", "process", "testimonial"]) type!: string;
@IsIn(["profile", "experience", "credential", "portfolio", "process", "testimonial"])
type!: string;
@IsString() title!: string;
@IsOptional() @IsString() summary?: string;
@IsString() content!: string;
@@ -52,7 +53,9 @@ export class CreateTrustContentDto {
}
export class UpdateTrustContentDto {
@IsOptional() @IsIn(["profile", "experience", "credential", "portfolio", "process", "testimonial"]) type?: string;
@IsOptional()
@IsIn(["profile", "experience", "credential", "portfolio", "process", "testimonial"])
type?: string;
@IsOptional() @IsString() title?: string;
@IsOptional() @IsString() summary?: string;
@IsOptional() @IsString() content?: string;