From 5f770b8232695273993ce1d6fe29ac0dc5651718 Mon Sep 17 00:00:00 2001 From: wuhui_zzw <1760308791@qq.com> Date: Mon, 19 Feb 2024 10:12:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=E5=8F=AF=E7=94=A8?= =?UTF-8?q?=E7=A7=AF=E5=88=86=E8=AE=A1=E7=AE=97=E9=94=99=E8=AF=AF=EF=BC=8C?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E4=B8=AA=E4=BA=BA=E4=B8=AD=E5=BF=83=E5=92=8C?= =?UTF-8?q?=E7=A7=AF=E5=88=86=E6=98=8E=E7=BB=86=E5=8F=AF=E7=94=A8=E7=A7=AF?= =?UTF-8?q?=E5=88=86=E4=B8=8D=E4=B8=80=E8=87=B4=EF=BC=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../store/platformCommission/LegumesLogRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common/repositories/store/platformCommission/LegumesLogRepository.php b/app/common/repositories/store/platformCommission/LegumesLogRepository.php index f9720ed..e4b46f1 100644 --- a/app/common/repositories/store/platformCommission/LegumesLogRepository.php +++ b/app/common/repositories/store/platformCommission/LegumesLogRepository.php @@ -115,7 +115,7 @@ class LegumesLogRepository extends BaseRepository{ 'refund_get_legumes' => $this->getModel($params)->sum('refund_get_legumes'),// 退款减少豆豆 'get_integral' => $this->getModel($params)->sum('get_integral'),// 获得积分 'freeze_integral' => $this->getModel($params)->where('status',0)->sum('get_integral'),// 冻结中积分 - 'used_integral' => $this->getModel($params)->where('status',1)->sum('get_integral'),// 可用积分 + 'used_integral' => $this->getHoldLegumesIntegral((int)$params['uid']),// 可用积分 'use_integral' => $this->getModel($params)->sum('use_integral'),// 已使用积分 ];