wesmiler 1 год назад
Родитель
Сommit
2f6da9a2b9
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      app/Services/Common/AccountLogService.php

+ 2 - 1
app/Services/Common/AccountLogService.php

@@ -223,7 +223,7 @@ class AccountLogService extends BaseService
         $orderNo = get_order_num('PC');
         $log = [
             'user_id' => $accountId,
-            'source_uid' => $adminId,
+            'source_uid' => 0,
             'order_no' => $orderNo,
             'type' => $type==1?5:6,
             'coin_type' => $coinType,
@@ -231,6 +231,7 @@ class AccountLogService extends BaseService
             'money' => $amount,
             'before_money' => isset($userInfo[$field])? $userInfo[$field] : 0,
             'create_time' => time(),
+            'action_id' => $adminId,
             'action_ip' => get_client_ip(),
             'remark' => $type==1?"链上充值":"链上扣除",
             'status' => 1,