feat: 完善会员资金明细与退款转账逻辑,新增支付密码组件与资金流水界面
这个提交包含在:
@@ -99,7 +99,9 @@ class Order extends V1
|
||||
$balance = round((float)Db::name('user')->where('id', $userId)->value('money'), 2);
|
||||
Db::name('user')->where('id', $userId)->update(['updatetime' => $now]);
|
||||
|
||||
$this->flow('income', '余额充值', $amount, $balance, $orderId, '余额充值');
|
||||
$this->flow('income', '余额充值', $amount, $balance, $orderId, '余额充值', $userId);
|
||||
// 钱包流水(fa_user.money 增)→ 余额中心「余额明细」
|
||||
$this->walletFlow($userId, 'income', '余额充值', $amount, $balance, $orderId, '余额充值');
|
||||
$this->notify(
|
||||
$userId,
|
||||
'system',
|
||||
|
||||
在新工单中引用
屏蔽一个用户