| xqd
@@ -52,7 +52,7 @@ trait LogHelper
|
|
|
// ]);
|
|
|
// }
|
|
|
|
|
|
- private function logAccount($fromType, $fromId, $fromName, $fromAmount, $op, $toType, $toId, $toName, $toAmount) {
|
|
|
+ private function logAccount($fromType, $fromId, $fromName, $fromAmount, $op, $toType, $toId, $toName, $toAmount,$transactionId='',$avatar='') {
|
|
|
return AccountLog::create([
|
|
|
'from_type' => $fromType,
|
|
|
'from_id' => $fromId,
|
| xqd
@@ -63,6 +63,9 @@ trait LogHelper
|
|
|
'to_id' => $toId,
|
|
|
'to_name' => $toName,
|
|
|
'to_amount' => $toAmount,
|
|
|
+ 'transaction_id' => $transactionId,
|
|
|
+ 'avatar' => $avatar,
|
|
|
+
|
|
|
]);
|
|
|
}
|
|
|
|