From 69110c094343fa111eee75b0a56fef7dd7995f8a Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Tue, 25 Nov 2025 18:09:45 +0800
Subject: [PATCH] 修复优惠券点击立即使用弹出二维码问题 商家后台添加分销和超级分红 添加活动分享功能 添加商户提现功能

---
 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