From 097a5f9e524acd965fa2abcfd18db30fc3f00ddb Mon Sep 17 00:00:00 2001
From: huangsijun <1773182001@qq.com>
Date: Thu, 11 Dec 2025 16:25:55 +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