实现添加博客
This commit is contained in:
12
tone-page-server/src/admin/dto/admin-web/create-blog.dto.ts
Normal file
12
tone-page-server/src/admin/dto/admin-web/create-blog.dto.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { IsString } from "class-validator";
|
||||
|
||||
export class CreateBlogDto {
|
||||
@IsString()
|
||||
title: string;
|
||||
|
||||
@IsString()
|
||||
description: string;
|
||||
|
||||
@IsString()
|
||||
contentUrl: string;
|
||||
}
|
||||
Reference in New Issue
Block a user