feat:购买失败修改

fix:购买副屏展示用户余额
This commit is contained in:
dzc committed 2026-10-26 17:46:54 +08:00
1 parent 3c11805958
commit c6f9ffb998
20 files changed
+1357 -289

No files matched your search

@@ -12,6 +12,8 @@ part 'face_entity.g.dart';
// 人脸识别 resolve 按样本回查、同步按用户删档是高频路径,避免 SCAN face。
Index(value: ["sampleId"]),
Index(value: ["userId"]),
// 与历史迁移保持一致,新建数据库也直接具备质量检测索引。
Index(value: ["qualityStatus", "qualityScore"]),
],
)
class FaceEntity extends Equatable {
@@ -65,7 +65,12 @@ class DiscountsItem {
}
@JsonSerializable()
@Entity(tableName: "user_record")
@Entity(
tableName: "user_record",
indices: [
Index(name: 'index_user_record_userId', value: ["userId"], unique: true),
],
)
class UserEntity extends Equatable {
/// 自增ID
@PrimaryKey(autoGenerate: true)