feat:更新图片url路径

This commit is contained in:
2025-11-19 10:40:02 +08:00
parent 7ede1c2d89
commit 625a872d2f
13 changed files with 150 additions and 150 deletions

View File

@@ -235,6 +235,26 @@ class RecipeDetail {
_$RecipeDetailFromJson(json);
Map<String, dynamic> toJson() => _$RecipeDetailToJson(this);
static RecipeDetail getEmpty() {
return RecipeDetail(
id: 0,
name: '',
category: '',
recommendRate: 0,
remark: '',
isShare: false,
userId: 0,
username: '',
avatar: '',
materialList: [],
stepList: [],
recordList: [],
likeList: [],
favouriteList: [],
commentList: [],
);
}
}
enum ViewType { recipe, calendar, timeline }