feature:咨询管理页面开发及接口对接
This commit is contained in:
1 parent
37a8db0055
commit
5b078fa607
9 files changed
+899
No files matched your search
@@ -0,0 +1,29 @@
|
||||
import type { AuditBaseModel,Paging } from '@/model/base'
|
||||
import type { Category } from './category'
|
||||
|
||||
export enum ArticleStatus {
|
||||
Draft = 'draft',
|
||||
Published = 'published',
|
||||
Closed = 'closed'
|
||||
}
|
||||
|
||||
export interface Article extends AuditBaseModel{
|
||||
title: string
|
||||
content:string
|
||||
category: Category
|
||||
status: ArticleStatus
|
||||
}
|
||||
|
||||
|
||||
export interface ArticleSearchFilter extends Partial<Paging>{
|
||||
order?: string
|
||||
title?: string
|
||||
content?:string
|
||||
categoryId?:string
|
||||
}
|
||||
|
||||
export interface CreateArticleRequest{
|
||||
categoryId:string
|
||||
title: string
|
||||
content: number
|
||||
}
|
||||
Reference in new issue
Block a user