From 726e1f0f0e932b23229f166e6fe4e9a874483d71 Mon Sep 17 00:00:00 2001 From: gongfuxiang Date: Sun, 26 Dec 2021 13:17:20 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=AF=E5=88=86=E5=8F=91=E6=94=BE=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E4=BF=A1=E6=81=AF=E5=8F=98=E9=87=8F=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/service/IntegralService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/service/IntegralService.php b/app/service/IntegralService.php index 85d19aa7b..44d5275ac 100755 --- a/app/service/IntegralService.php +++ b/app/service/IntegralService.php @@ -231,7 +231,7 @@ class IntegralService $user_integral = Db::name('User')->where(['id'=>$user['id']])->value('integral'); if(!Db::name('User')->where(['id'=>$user['id']])->inc('integral', $give_integral)->update()) { - return DataReturn('用户积分赠送失败['.$params['order_id'].'-'.$goods_id.']', -10); + return DataReturn('用户积分赠送失败['.$params['order_id'].'-'.$dv['goods_id'].']', -10); } // 积分日志 -- GitLab