添加文章管理和文章分组页面
This commit is contained in:
20
src/models/article.ts
Normal file
20
src/models/article.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
import type { Model } from "./base/model"
|
||||
|
||||
export type Article = Model & {
|
||||
title: string
|
||||
section_title: string
|
||||
content: string
|
||||
group_id: number
|
||||
description?: string
|
||||
cover_image?: string
|
||||
sort: number
|
||||
status: number
|
||||
}
|
||||
|
||||
export type UploadImageResult = {
|
||||
url: string
|
||||
path: string
|
||||
original_name: string
|
||||
size: number
|
||||
mime_type: string
|
||||
}
|
||||
Reference in New Issue
Block a user