feat: 新增勘察明细管理与修改密码功能

This commit is contained in:
andyesfly committed 2026-10-17 10:10:09 +08:00
1 parent 56830e94ec
commit 774403785c
12 files changed
+1553 -18

No files matched your search

+8
View File
@@ -55,4 +55,12 @@ class AuthApi {
},
parse: (d) => WorkerInfo.fromJson((d as Map).cast<String, dynamic>()),
);
/// 修改登录密码。后端 `/worker-app/profile` 收到 `password` 即更新密码哈希。
Future<ApiResponse<WorkerInfo>> changePassword(String password) =>
_client.put<WorkerInfo>(
'/worker-app/profile',
body: {'password': password},
parse: (d) => WorkerInfo.fromJson((d as Map).cast<String, dynamic>()),
);
}