feat: 设置页面增强,支持用户信息展示和密码修改

This commit is contained in:
qzl
2026-03-10 17:43:17 +08:00
parent 8dd48ec15b
commit f30bfc2006
9 changed files with 859 additions and 135 deletions
@@ -1,12 +1,14 @@
class UserResponse {
final String id;
final String username;
final String? email;
final String? avatarUrl;
final String? bio;
const UserResponse({
required this.id,
required this.username,
this.email,
this.avatarUrl,
this.bio,
});
@@ -15,6 +17,7 @@ class UserResponse {
return UserResponse(
id: json['id'] as String,
username: json['username'] as String,
email: json['email'] as String?,
avatarUrl: json['avatar_url'] as String?,
bio: json['bio'] as String?,
);