feat:更新菜谱UI
This commit is contained in:
@@ -18,6 +18,14 @@ export interface IStep {
|
||||
imageUrl: string;
|
||||
}
|
||||
|
||||
export interface IComment {
|
||||
id: number;
|
||||
username: string;
|
||||
avatar: string;
|
||||
content: string;
|
||||
date: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* 成果信息
|
||||
*/
|
||||
@@ -63,6 +71,10 @@ export interface IRecipe {
|
||||
* 成果
|
||||
*/
|
||||
recordList: IRecord[];
|
||||
likeList: string[];
|
||||
likeCount: number;
|
||||
commentList: IComment[];
|
||||
commentCount: number;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -78,14 +90,6 @@ export interface IFoodQuery {
|
||||
category: string;
|
||||
}
|
||||
|
||||
export interface IComment {
|
||||
id: number;
|
||||
username: string;
|
||||
avatar: string;
|
||||
content: string;
|
||||
date: string;
|
||||
}
|
||||
|
||||
export interface IMoment {
|
||||
id?: number;
|
||||
userId?: number;
|
||||
|
||||
Reference in New Issue
Block a user