|
|
|
@ -42,11 +42,11 @@ class OrderPaid extends BaseJob |
|
|
|
|
$gift = (isset($rule['gift']) && $rule['gift'] > 0) ? $rule['gift'] : 0; |
|
|
|
|
if ($money > 0) { |
|
|
|
|
// 增加余额 |
|
|
|
|
WalletService::change($user, 'money', $money, 'order_recharge', [ |
|
|
|
|
'order_id' => $order->id, |
|
|
|
|
'order_sn' => $order->order_sn, |
|
|
|
|
'order_type' => 'trade_order', |
|
|
|
|
]); |
|
|
|
|
// WalletService::change($user, 'money', $money, 'order_recharge', [ |
|
|
|
|
// 'order_id' => $order->id, |
|
|
|
|
// 'order_sn' => $order->order_sn, |
|
|
|
|
// 'order_type' => 'trade_order', |
|
|
|
|
// ]); |
|
|
|
|
|
|
|
|
|
// 增加积分 |
|
|
|
|
WalletService::change($user, 'score', $money, 'order_recharge', [ |
|
|
|
|