From 7b5fff7a3cee6eea92194d8852421d3a755c0f9f Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Tue, 2 Jul 2024 17:39:53 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9UserSignLogic?= =?UTF-8?q?=E7=B1=BB=E4=B8=AD=E7=9A=84write=5Flog=E6=96=B9=E6=B3=95?= =?UTF-8?q?=E4=B8=BAwrite=E6=96=B9=E6=B3=95=EF=BC=8C=E5=B9=B6=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E5=8F=82=E6=95=B0=EF=BC=8C=E5=90=8C=E6=97=B6=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E7=9B=B8=E5=85=B3=E7=94=A8=E6=88=B7=E7=9A=84integral?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/logic/UserSignLogic.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/common/logic/UserSignLogic.php b/app/common/logic/UserSignLogic.php index 334f82a76..841f0b844 100644 --- a/app/common/logic/UserSignLogic.php +++ b/app/common/logic/UserSignLogic.php @@ -41,7 +41,7 @@ class UserSignLogic extends BaseLogic $find->status = -1; $find->save(); $number = UserSignLog::where('sid', $find->id)->where('financial_pm', 0)->sum('number'); - self::write_log($find, $number, 0, 3, 0); + self::write($find, $number, 0, 1, 3, 0); User::where('id', $order['uid'])->dec('integral', $number)->update(); } } @@ -79,7 +79,7 @@ class UserSignLogic extends BaseLogic $find->status = -1; $find->save(); $number = UserSignLog::where('sid', $find->id)->where('financial_pm', 0)->sum('number'); - self::write_log($find, $number, 0, 3, 0); + self::write($find, $number, 0, 1, 3, 0); User::where('id', $order['uid'])->dec('integral', $number)->update(); } }