feat:优化下单速度

feat:处理读卡密码
This commit is contained in:
dzc committed 2026-10-14 13:51:12 +08:00
1 parent ba7e31dbd8
commit aa4eb7b86e
13 files changed
+189 -559

No files matched your search

@@ -397,6 +397,9 @@ class ServiceHardware extends ServiceBase {
/// 人脸activeKey
final String? faceActiveKey;
/// 商户饭卡密码 B(mch_manage.card_key,6 字节 hex);由 /hard-api/ad 终端接口下发。
final String? cardKey;
ServiceHardware({
this.id,
this.name,
@@ -417,6 +420,7 @@ class ServiceHardware extends ServiceBase {
this.faceAppId,
this.faceSdkKey,
this.faceActiveKey,
this.cardKey,
});
factory ServiceHardware.fromJson(Map<String, dynamic> json) =>
@@ -217,6 +217,7 @@ ServiceHardware _$ServiceHardwareFromJson(Map<String, dynamic> json) =>
faceAppId: json['faceAppId'] as String?,
faceSdkKey: json['faceSdkKey'] as String?,
faceActiveKey: json['faceActiveKey'] as String?,
cardKey: json['cardKey'] as String?,
)
..msg = json['msg'] as String?
..code = (json['code'] as num?)?.toInt()
@@ -246,6 +247,7 @@ Map<String, dynamic> _$ServiceHardwareToJson(ServiceHardware instance) =>
'faceAppId': instance.faceAppId,
'faceSdkKey': instance.faceSdkKey,
'faceActiveKey': instance.faceActiveKey,
'cardKey': instance.cardKey,
};
ServiceCar _$ServiceCarFromJson(Map<String, dynamic> json) => ServiceCar(