task(f4b5cc37-e27d-480a-ac94-f78a8b24a4d1): Implement M1 account and session module with e2e tests

- Add AuthApi with 5 endpoints (LoginByAccount, LoginByMobile, etc.)
- Implement dual-layer envelope unwrapping in ApiCaller for HTTP 500 + ASP.NET exceptions
- Add DynamicBaseUrlInterceptor for runtime server switching
- Implement SessionRepository with login state management and token persistence
- Add Mine/Login/Config/ChangePassword UI with ViewBinding and state machines
- Replace placeholder MineFragment with business implementation
- Hide bottom navigation when sub-pages are on back stack
- Add 33 new strings and login_error color resource
- Provide AuthApi in NetworkModule DI
- Verified: 5/5 e2e negative tests passed, dual unwrapping works on real responses
This commit is contained in:
阿猫
2026-09-03 13:38:08 +08:00
parent 36479373e0
commit ee8238020a
25 changed files with 1564 additions and 10 deletions

View File

@@ -1,5 +1,7 @@
package com.stec.cmd
import com.stec.cmd.feature.mine.MineFragment
/**
* 底部导航 5 Tab 与业务模块(功能明细表编号)的挂载点注册中心。
*