From 038fedc8a0bfb61f0894b8879838001d3847aaa6 Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Tue, 23 Dec 2025 18:06:57 +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