feat: 播放处理,个人中心,

This commit is contained in:
chengsiwen committed 2026-06-30 16:05:17 +08:00
1 parent e59ac2177b
commit 4ccea08472
37 files changed
+1425 -115

No files matched your search

@@ -1,6 +1,6 @@
import '../model_parser.dart';
class GlimzoUser {
class SkywoodUser {
final String customerId;
final bool isTourist;
final String userLevel;
@@ -8,7 +8,7 @@ class GlimzoUser {
final String? familyName;
final String? givingName;
const GlimzoUser({
const SkywoodUser({
required this.customerId,
required this.isTourist,
required this.userLevel,
@@ -17,8 +17,8 @@ class GlimzoUser {
this.givingName,
});
factory GlimzoUser.fromJson(Map<String, dynamic> json) {
return GlimzoUser(
factory SkywoodUser.fromJson(Map<String, dynamic> json) {
return SkywoodUser(
customerId: parseString(json['customer_id']),
isTourist: parseBool(json['is_tourist']),
userLevel: parseString(json['user_level']),
@@ -39,7 +39,7 @@ class GlimzoUser {
};
}
GlimzoUser copyWith({
SkywoodUser copyWith({
String? customerId,
bool? isTourist,
String? userLevel,
@@ -47,7 +47,7 @@ class GlimzoUser {
String? familyName,
String? givingName,
}) {
return GlimzoUser(
return SkywoodUser(
customerId: customerId ?? this.customerId,
isTourist: isTourist ?? this.isTourist,
userLevel: userLevel ?? this.userLevel,