feat: 重构充值提现功能,添加冷钱包管理
后端改动: - 新增冷钱包管理模块(ColdWallet实体、Mapper、Service、Controller) - 充值流程:创建订单→显示钱包地址→用户确认打款→管理员审核 - 提现流程:用户输入地址和联系方式→冻结余额→管理员审核 - OrderFund新增字段:walletId, walletAddress, withdrawContact, payTime, confirmTime 前端改动(monisuo-admin): - 新增冷钱包管理页面(wallets.vue) - 优化订单管理页面,支持新的状态流转 - 添加调试日志帮助排查登录问题 前端改动(flutter_monisuo): - 更新OrderFund模型支持新字段 - 充值成功后显示钱包地址弹窗 - 提现时收集提现地址和联系方式 - 新增资金订单页面 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -69,6 +69,9 @@ class ApiEndpoints {
|
||||
/// 申请充值
|
||||
static const String deposit = '/api/fund/deposit';
|
||||
|
||||
/// 确认已打款
|
||||
static const String confirmPay = '/api/fund/confirmPay';
|
||||
|
||||
/// 申请提现
|
||||
static const String withdraw = '/api/fund/withdraw';
|
||||
|
||||
@@ -77,4 +80,7 @@ class ApiEndpoints {
|
||||
|
||||
/// 获取充提记录
|
||||
static const String fundOrders = '/api/fund/orders';
|
||||
|
||||
/// 获取默认钱包地址
|
||||
static const String defaultWallet = '/api/wallet/default';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user