6
0
Fork 0

调整转入转出用户日志

release
vine_liutk 2022-02-10 13:08:16 +08:00
parent cd967de6fe
commit 98d49bfc2b
1 changed files with 3 additions and 3 deletions

View File

@ -359,7 +359,7 @@ class WalletController extends Controller
$log = $balanceService->changeBalance($user, -Arr::get($input, 'amount', 0), BalanceLog::ACTION_TRANSFER_OUT, '转出-'.$toUser->phone); $log = $balanceService->changeBalance($user, -Arr::get($input, 'amount', 0), BalanceLog::ACTION_TRANSFER_OUT, '转出-'.$toUser->phone);
//转入对象 //转入对象
$balanceService->changeBalance($toUser, Arr::get($input, 'amount', 0), BalanceLog::ACTION_TRANSFER_IN, $toUser->phone.'-转入', $log); $balanceService->changeBalance($toUser, Arr::get($input, 'amount', 0), BalanceLog::ACTION_TRANSFER_IN, $user->phone.'-转入', $log);
DB::commit(); DB::commit();
} catch (Throwable $th) { } catch (Throwable $th) {