feat: 实现文章状态管理及分类标签展示功能
新增文章状态管理功能,支持草稿、已发表和已删除状态的显示与切换 重构分类和标签展示模块,添加点击跳转功能 优化文章列表页面,增加状态筛选和分页功能 完善疯言疯语模块,支持编辑和删除操作 修复路由跳转和页面刷新问题
This commit is contained in:
@@ -14,6 +14,7 @@ export interface Article {
|
||||
updatedAt: string
|
||||
viewCount?: number
|
||||
likes?: number
|
||||
commentCount?: number
|
||||
status?: number
|
||||
markdownscontent: string
|
||||
}
|
||||
@@ -89,6 +90,7 @@ export interface CategoryDto {
|
||||
* 分类属性接口
|
||||
*/
|
||||
export interface CategoryAttribute {
|
||||
map(arg0: (item: any) => any): unknown
|
||||
attributeid: number
|
||||
categoryid: number
|
||||
attributename: string
|
||||
@@ -127,7 +129,23 @@ export interface UserDto {
|
||||
phone: string
|
||||
role?: number
|
||||
}
|
||||
|
||||
/**
|
||||
* 疯言疯语类型接口
|
||||
*/
|
||||
export interface Nonsense {
|
||||
nonsenseid: number
|
||||
content: string
|
||||
status?: number
|
||||
time: string
|
||||
}
|
||||
/**
|
||||
* 疯言疯语DTO接口
|
||||
*/
|
||||
export interface NonsenseDto {
|
||||
content: string
|
||||
status?: number
|
||||
time?: string
|
||||
}
|
||||
/**
|
||||
* API响应接口
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user