This commit is contained in:
sion
2026-04-05 19:43:31 +08:00
parent 5b9a80e3fe
commit 2fbc47117c
94 changed files with 1032 additions and 882 deletions

View File

@@ -75,9 +75,11 @@ class OrderFund {
final String username;
final int type; // 1=充值, 2=提现
final String amount;
final String? fee; // 手续费
final String? receivableAmount; // 应收款项
final int status;
// 充值状态: 1=待付款, 2=待确认, 3=已完成, 4=已驳回, 5=已取消
// 提现状态: 1=待审批, 2=已完成, 3=已驳回, 4=已取消
// 提现状态: 1=待审批, 2=已完成, 3=已驳回, 4=已取消, 5=待财务审核
final int? walletId; // 冷钱包ID(充值)
final String? walletAddress; // 钱包地址(充值/提现)
final String? withdrawContact; // 提现联系方式
@@ -95,6 +97,8 @@ class OrderFund {
required this.username,
required this.type,
required this.amount,
this.fee,
this.receivableAmount,
required this.status,
this.walletId,
this.walletAddress,
@@ -115,6 +119,8 @@ class OrderFund {
username: json['username'] as String? ?? '',
type: json['type'] as int? ?? 1,
amount: json['amount']?.toString() ?? '0.00',
fee: json['fee']?.toString(),
receivableAmount: json['receivableAmount']?.toString(),
status: json['status'] as int? ?? 1,
walletId: json['walletId'] as int?,
walletAddress: json['walletAddress'] as String?,
@@ -166,6 +172,8 @@ class OrderFund {
return '已驳回';
case 4:
return '已取消';
case 5:
return '待财务审核';
default:
return '未知';
}