fix: 修复 VoiceController Map.of 兼容性 + ExploreController 参数不匹配

- VoiceController: Map.of() -> Collections.singletonMap() 兼容 Java 8
- ExploreController: 补齐 takeoutService.roll() 缺失的 taste/priceRange/allergies 参数

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
王鹏
2026-05-08 20:02:27 +08:00
commit 802b4ba229
98 changed files with 5761 additions and 0 deletions

55
miniapp/app.json Normal file
View File

@@ -0,0 +1,55 @@
{
"pages": [
"pages/index/index",
"pages/takeout-result/takeout-result",
"pages/fridge-input/fridge-input",
"pages/recipe-list/recipe-list",
"pages/recipe-detail/recipe-detail",
"pages/explore-result/explore-result",
"pages/records/records",
"pages/mine/mine"
],
"window": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#E8693B",
"navigationBarTitleText": "吃啥盲盒",
"navigationBarTextStyle": "white",
"backgroundColor": "#FFFBF7"
},
"tabBar": {
"color": "#999999",
"selectedColor": "#E8693B",
"backgroundColor": "#FFFFFF",
"borderStyle": "white",
"list": [
{
"pagePath": "pages/index/index",
"text": "盲盒大厅",
"iconPath": "static/tab-home.png",
"selectedIconPath": "static/tab-home-active.png"
},
{
"pagePath": "pages/records/records",
"text": "记录",
"iconPath": "static/tab-records.png",
"selectedIconPath": "static/tab-records-active.png"
},
{
"pagePath": "pages/mine/mine",
"text": "我的",
"iconPath": "static/tab-mine.png",
"selectedIconPath": "static/tab-mine-active.png"
}
]
},
"permission": {
"scope.userLocation": {
"desc": "需要获取你的位置来推荐附近的美食"
}
},
"requiredPrivateInfos": [
"getLocation"
],
"style": "v2",
"sitemapLocation": "sitemap.json"
}