代码推送

This commit is contained in:
2026-09-09 02:39:57 +08:00
parent a112893947
commit 5e47757c73
24 changed files with 1156 additions and 226 deletions

View File

@@ -59,7 +59,10 @@ func seedFoodData(db *gorm.DB) error {
}
// 为每个餐厅创建菜品分类和菜品
type catSeed struct{ name string; items []model.MenuItem }
type catSeed struct {
name string
items []model.MenuItem
}
restaurantMenus := map[uint][]catSeed{
// 蜀香苑 川菜
1: {