fix(withdraw): 修复提现台账导出PHP8兼容性与页面崩溃问题,统一大余额与导出体验

这个提交包含在:
chen
2026-09-21 15:11:58 +08:00
父节点 3bd0954df1
当前提交 dbd0ac5e02
共有 21 个文件被更改,包括 255 次插入 和 165 次删除

查看文件

@@ -7,7 +7,7 @@ use app\admin\model\shopro\user\User as UserModel;
use addons\shopro\service\Wallet;
/**
* 历史收益全量结转至商城余额服务
* 历史收益全量结转至钱包余额服务
*/
class WalletMigrationService
{
@@ -94,14 +94,14 @@ class WalletMigrationService
// 1. 扣减佣金钱包
Wallet::change($user, 'commission', -$amount, 'transfer_to_money', [
'batch_migration' => 1,
'reason' => '全量历史收益结转至商城余额',
], '收益结转至商城余额');
'reason' => '全量历史收益结转至钱包余额',
], '收益结转至钱包余额');
// 2. 增加商城余额
// 2. 增加钱包余额
Wallet::change($user, 'money', $amount, 'transfer_by_commission', [
'batch_migration' => 1,
'reason' => '全量历史收益结转至商城余额',
], '收益结转至商城余额');
'reason' => '全量历史收益结转至钱包余额',
], '收益结转至钱包余额');
return $amount;
});