修复账号切换后「我的」页当前账号展示错误,并统一举报摄影师首页 URI。
切换账号时以用户选中账号为准写入展示标题与业务作用域,避免沿用旧门店名称;同时将首页举报摄影师入口 URI 对齐为 report_photographer。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
|
||||
## 模块职责
|
||||
|
||||
WildPhotographerReport 模块负责首页 `photographer_report` 入口,为摄影师和景区运营提供「举报摄影师」能力。
|
||||
WildPhotographerReport 模块负责首页 `report_photographer` 入口,为摄影师和景区运营提供「举报摄影师」能力。
|
||||
|
||||
本模块与 `LocationReport`(位置上报)无关:前者是用户举报疑似打野/未戴工牌摄影师,后者是摄影师 GPS 打卡。
|
||||
|
||||
@ -49,7 +49,7 @@ flowchart TD
|
||||
|
||||
## 路由
|
||||
|
||||
- 权限 URI:`photographer_report`
|
||||
- 权限 URI:`report_photographer`
|
||||
- 首页路由:`HomeRoute.photographerReport`
|
||||
- 入口不固定置顶,依赖权限下发或用户手动添加到常用应用(`HomeCommonMenuStore.androidHomeMenuURIs` 白名单已包含该 URI)。
|
||||
|
||||
@ -57,10 +57,10 @@ flowchart TD
|
||||
|
||||
| 模块 | URI | 用途 | 后端 |
|
||||
| --- | --- | --- | --- |
|
||||
| WildPhotographerReport | `photographer_report` | 举报摄影师 | Mock |
|
||||
| WildPhotographerReport | `report_photographer` | 举报摄影师 | Mock |
|
||||
| LocationReport | `location_report` | 位置上报 | 真实 API |
|
||||
|
||||
## 测试要求
|
||||
|
||||
- `WildPhotographerReportTests`:Home/Submit/List ViewModel 校验与提交成功路径。
|
||||
- `HomeMenuRouterTests`:`photographer_report` 路由映射。
|
||||
- `HomeMenuRouterTests`:`report_photographer` 路由映射。
|
||||
|
||||
Reference in New Issue
Block a user