From 3e28caaecc71f1dc4000b623cd6e4bebe1fa949a Mon Sep 17 00:00:00 2001 From: lewis <604446095@qq.com> Date: Sun, 21 Jan 2024 23:50:07 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=B4=BB=E5=8A=A8=E5=AE=8C?= =?UTF-8?q?=E6=88=90=E7=8A=B6=E6=80=81=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/dao/store/StoreActivityUserDao.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common/dao/store/StoreActivityUserDao.php b/app/common/dao/store/StoreActivityUserDao.php index 24a090a4..0c1dbd03 100644 --- a/app/common/dao/store/StoreActivityUserDao.php +++ b/app/common/dao/store/StoreActivityUserDao.php @@ -124,10 +124,10 @@ class StoreActivityUserDao extends BaseDao ->where('activity_id', $activityId) ->where($myOrderWhere) ->find(); - $userInfo = User::where('spread_uid', $userId)->field('uid,nickname,avatar')->select()->toArray(); if (empty($myOrder) || empty($myOrder['pay_price'])) { return ['target' => $target, 'allow_receive' => false, 'user_info' => $userInfo]; } + $userInfo = User::where('spread_uid', $userId)->field('uid,nickname,avatar')->select()->toArray(); $storeConsumptionUserDao = new StoreConsumptionUserDao(); $scope = $storeConsumptionUserDao->getScope($consumption, $myOrder['pay_price']); $orderQuery = StoreActivityOrder::where('spread_id', $userId)