From 33f004d1196d056b99a3886de070d429315bac39 Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Thu, 11 Dec 2025 18:12:38 +0800
Subject: [PATCH] 将分类改为多选 修复活动报名 实现成为vip会员时根据活动报名信息绑定下级

---
 admin/app/shop/controller/user/Grade.php |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/admin/app/shop/controller/user/Grade.php b/admin/app/shop/controller/user/Grade.php
index 2fa353a..ca2da61 100644
--- a/admin/app/shop/controller/user/Grade.php
+++ b/admin/app/shop/controller/user/Grade.php
@@ -40,6 +40,9 @@
     public function edit($grade_id)
     {
         $model = GradeModel::detail($grade_id);
+        if (request()->isGet()) {
+            return $this->renderSuccess('', compact('model'));
+        }
         // 修改记录
         if ($model->edit($this->postData())) {
             return $this->renderSuccess();

--
Gitblit v1.9.2