quanwei
2025-12-10 898043fc97d2ab8b793fd317a049b874ed207c6d
admin/app/api/controller/branch/Activity.php
@@ -39,7 +39,8 @@
    {
        $model = new ActivityModel;
        $list = $model->getList($category_id, $this->postData(), $this->getUser());
        return $this->renderSuccess('', compact('list'));
        $words = BranchSettingModel::getItem('words');
        return $this->renderSuccess('', compact('list', 'words'));
    }
    /**
@@ -96,7 +97,14 @@
            return $this->renderSuccess('', compact('order_id'));
        }
    }
    public function getRegistrationInformation($user_id = 0)
    {
        // 生成报名用户
        $model = new ActivityUserModel();
        $userId = $user_id!=0?$user_id:$this->getUser()['user_id'];
        $registrationInformation = $model->getRegistrationInformation($userId);
        return $this->renderSuccess('', compact('registrationInformation'));
    }
    /**
     * 生成活动海报
     */