fix: 修复后台配置接口与管理后台高优先级问题
This commit is contained in:
1 parent
69bbeb1b1b
commit
c393a5231e
6 files changed
+53
-14
No files matched your search
@@ -51,6 +51,17 @@ export class CreateTrustContentDto {
|
||||
@IsOptional() config?: Record<string, unknown>;
|
||||
}
|
||||
|
||||
export class UpdateTrustContentDto {
|
||||
@IsOptional() @IsIn(["profile", "experience", "credential", "portfolio", "process", "testimonial"]) type?: string;
|
||||
@IsOptional() @IsString() title?: string;
|
||||
@IsOptional() @IsString() summary?: string;
|
||||
@IsOptional() @IsString() content?: string;
|
||||
@IsOptional() @IsString() coverUrl?: string;
|
||||
@IsOptional() @IsInt() @Min(0) @Max(9999) sortOrder?: number;
|
||||
@IsOptional() @IsBoolean() isPublished?: boolean;
|
||||
@IsOptional() config?: Record<string, unknown>;
|
||||
}
|
||||
|
||||
export class UpdateBookingStatusDto {
|
||||
@IsIn(["received", "contacting", "confirmed", "completed", "cancelled"])
|
||||
status!: "received" | "contacting" | "confirmed" | "completed" | "cancelled";
|
||||
|
||||
Reference in new issue
Block a user