From fe8682893300a34ff5a8b6e8a5f8e1a41049fbbe Mon Sep 17 00:00:00 2001 From: wuhui_zzw <1760308791@qq.com> Date: Thu, 18 Jan 2024 16:42:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=EF=BC=9A=E9=A2=9D=E5=BA=A6?= =?UTF-8?q?=E8=BD=AC=E8=B5=A0=E5=8A=9F=E8=83=BD=20=E6=96=87=E5=AD=97?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=EF=BC=9A=E5=85=91=E6=8D=A2=E7=A7=AF=E5=88=86?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=BA=E9=85=92=E6=B0=B4=E5=8D=A1=E7=A7=AF?= =?UTF-8?q?=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/repositories/user/ExchangeQuotaRepository.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/common/repositories/user/ExchangeQuotaRepository.php b/app/common/repositories/user/ExchangeQuotaRepository.php index 8e5101b..152697a 100644 --- a/app/common/repositories/user/ExchangeQuotaRepository.php +++ b/app/common/repositories/user/ExchangeQuotaRepository.php @@ -103,6 +103,7 @@ class ExchangeQuotaRepository extends BaseRepository{ 'change_front' => $currentUserChangeFront, 'change_after' => (float)$currentUser->surplus_quota, 'remark' => "转赠给【{$transferMemberName}】", + 'source' => 4, ], // 接收用户变更记录 [ @@ -115,6 +116,7 @@ class ExchangeQuotaRepository extends BaseRepository{ 'change_front' => $transferUserChangeFront, 'change_after' => (float)$transferUser->surplus_quota, 'remark' => "来自【{$currentMemberName}】的转赠", + 'source' => 4, ] ]; ExchangeQuotaRecord::insertAll($insertData);