1.还原授权页 UI

2.还原扫码页 UI
This commit is contained in:
2026-07-27 16:52:58 +08:00
parent 20d501f673
commit 686db244fd
11 changed files with 445 additions and 195 deletions
+6 -6
View File
@@ -15,9 +15,9 @@ class JwtDecodedData {
int? deviceId;
String? deviceRole;
String? eventName;
double? oId;
List<double>? oIds;
double? organizerId;
String? oId;
List<String>? oIds;
String? organizerId;
JwtDecodedData({
this.authType,
@@ -36,11 +36,11 @@ class JwtDecodedData {
deviceId: json["deviceId"],
deviceRole: json["deviceRole"],
eventName: json["eventName"],
oId: json["oId"]?.toDouble(),
oId: json["oId"]?.toString(),
oIds: json["oIds"] == null
? []
: List<double>.from(json["oIds"]!.map((x) => x?.toDouble())),
organizerId: json["organizerId"]?.toDouble(),
: List<String>.from(json["oIds"]!.map((x) => x?.toString())),
organizerId: json["organizerId"]?.toString(),
);
Map<String, dynamic> toJson() => {