实现添加博客

This commit is contained in:
2025-05-16 21:58:33 +08:00
parent 65303ac988
commit 59a68b372b
13 changed files with 260 additions and 39 deletions

View File

@@ -0,0 +1,12 @@
import { IsString } from "class-validator";
export class CreateBlogDto {
@IsString()
title: string;
@IsString()
description: string;
@IsString()
contentUrl: string;
}