From 55966ff40dd66b4bff545493b565ee55045012d9 Mon Sep 17 00:00:00 2001 From: luofei <604446095@qq.com> Date: Sat, 20 Jan 2024 10:33:41 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95=E7=BA=A2=E5=8C=85=E6=B4=BB?= =?UTF-8?q?=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dao/store/consumption/StoreConsumptionUserDao.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/common/dao/store/consumption/StoreConsumptionUserDao.php b/app/common/dao/store/consumption/StoreConsumptionUserDao.php index 7b12f9cd..378384ad 100644 --- a/app/common/dao/store/consumption/StoreConsumptionUserDao.php +++ b/app/common/dao/store/consumption/StoreConsumptionUserDao.php @@ -45,14 +45,14 @@ class StoreConsumptionUserDao extends BaseDao /** * 发起人活动校验 * @param int $userId - * @param array $groupOrder + * @param $groupOrder * @param int $spreadUserId * @return bool * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException * @throws \think\db\exception\ModelNotFoundException */ - public function promoter(int $userId, array $groupOrder, int $spreadUserId) + public function promoter(int $userId, $groupOrder, int $spreadUserId) { $consumptionId = (new StoreActivityUserDao())->getValue($userId); $consumption = (new StoreConsumptionDao())->getOne($consumptionId); @@ -84,14 +84,14 @@ class StoreConsumptionUserDao extends BaseDao /** * 受邀人活动校验 * @param int $userId - * @param array $groupOrder + * @param $groupOrder * @param int $spreadUserId * @return bool|void * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException * @throws \think\db\exception\ModelNotFoundException */ - public function guest(int $userId, array $groupOrder, int $spreadUserId) + public function guest(int $userId, $groupOrder, int $spreadUserId) { // 查询推荐人的消费金类型 $spreadConsumptionId = (new StoreActivityUserDao())->getValue($spreadUserId);