- 添加Docker相关配置文件(.dockerignore, .env.example, .gitignore) - 实现服务端API代理功能,支持文件、模块和服务器API转发 - 创建文章详情页、栏目文章列表页和单页内容展示页面 - 集成Ant Design Vue组件库并实现SSR样式提取功能 - 定义API响应数据结构类型和应用布局组件 - 开发开发者应用中心和文章管理页面 - 实现CMS导航菜单获取和多租户切换功能
48 lines
945 B
TypeScript
48 lines
945 B
TypeScript
import type { PageParam } from '@/api';
|
|
|
|
/**
|
|
* 文章评论表
|
|
*/
|
|
export interface CmsArticleComment {
|
|
// 评价ID
|
|
commentId?: number;
|
|
// 文章ID
|
|
articleId?: number;
|
|
// 评分 (10好评 20中评 30差评)
|
|
score?: number;
|
|
// 评价内容
|
|
content?: string;
|
|
// 是否为图片评价
|
|
isPicture?: number;
|
|
// 评论者ID
|
|
userId?: number;
|
|
// 被评价者ID
|
|
toUserId?: number;
|
|
// 回复的评论ID
|
|
replyCommentId?: number;
|
|
// 回复者ID
|
|
replyUserId?: number;
|
|
// 排序(数字越小越靠前)
|
|
sortNumber?: number;
|
|
// 备注
|
|
comments?: string;
|
|
// 状态, 0未读, 1已读
|
|
status?: number;
|
|
// 是否删除, 0否, 1是
|
|
deleted?: number;
|
|
// 租户id
|
|
tenantId?: number;
|
|
// 创建时间
|
|
createTime?: string;
|
|
// 修改时间
|
|
updateTime?: string;
|
|
}
|
|
|
|
/**
|
|
* 文章评论表搜索条件
|
|
*/
|
|
export interface CmsArticleCommentParam extends PageParam {
|
|
commentId?: number;
|
|
keywords?: string;
|
|
}
|