修复旅拍相册 API 未注入共享 APIClient 导致未登录错误。

在 RootView 注入 travelAlbumAPI,并将 travel_album 纳入首页常用功能;补充 App/Networking 依赖注入说明。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-30 10:07:32 +08:00
parent 258c438f9a
commit 6769be60e4
8 changed files with 66 additions and 6 deletions

View File

@ -83,7 +83,7 @@ allFunctions = 顶层权限
`androidHomeMenuURIs` 与 Android `Constants.menuList` 登记 URI 一致。以下典型 URI **不会**出现在「全部功能」页,即使接口返回了顶层权限:
- `basic_info``photographer_stats``photographer_orders`
- `location_info``scan_qr``payment_qr``travel_album`
- `location_info``scan_qr``payment_qr`
- `album_list``material_upload` 等未登记 URI
子权限 URI 也不会出现(未 flatten
@ -206,4 +206,4 @@ Debug 构建下可用 Xcode Console 过滤 `HomeAllFunctions`
- 不展开子权限
- 精确 URI 拆分 common / more
- 常用区顺序跟随 `allFunctions`
- 与 Android 样例账号27 顶层 → 20 可用 → 3 常用 + 17 更多)一致
- 与 Android 样例账号27 顶层 → 21 可用 → 3 常用 + 18 更多)一致

View File

@ -149,7 +149,7 @@ enum HomeMenuRouter {
return .destination(.liveManagement)
case "live_album":
return .destination(.liveAlbum)
case "travel_album", "task_new_entry":
case "travel_album":
return .destination(.travelAlbumEntry)
case "operating-area":
return .destination(.operatingArea)

View File

@ -27,6 +27,7 @@ struct HomeCommonMenuStore {
"live_stream_management",
"verification_order",
"live_album",
"travel_album",
"pm",
"location_report",
"registration_invitation",

View File

@ -48,7 +48,7 @@ enum HomeIconCatalog {
"checkmark.seal.fill"
case "live_album":
"play.rectangle.on.rectangle.fill"
case "travel_album", "task_new_entry":
case "travel_album":
"photo.on.rectangle.angled"
case "pm", "pm_manager", "project_edit":
"circle.grid.2x2.fill"