From 534b578038ce00c1ba75e88f87c1bb06cffd9573 Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Sat, 01 Nov 2025 15:18:49 +0800
Subject: [PATCH] 超链接添加添加名片链接

---
 admin/app/shop/controller/plus/business/Template.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/admin/app/shop/controller/plus/business/Template.php b/admin/app/shop/controller/plus/business/Template.php
index 9f41648..6f9c3f2 100644
--- a/admin/app/shop/controller/plus/business/Template.php
+++ b/admin/app/shop/controller/plus/business/Template.php
@@ -49,7 +49,7 @@
         $paramL['image'] = $Qrcode->getImageE($param['template'], $template_id);
         $paramL['style'] = json_encode($param['template'], JSON_UNESCAPED_UNICODE);
         if ($model->add($paramL)) {
-            return $this->renderSuccess('编辑成功', url('business.template/index'));
+            return $this->renderSuccess('编辑成功');
         }
         return $this->renderError('编辑失败');
     }
@@ -176,7 +176,7 @@
             $paramI['image'] = $Qrcode->getImageE($param['template'], $template_id);
             $modelBusiness = (new BusinessTemplate())->where(['template_id' => $template_id])->find();
             $modelBusiness->where(['template_id' => $template_id])->update($paramI);
-            return $this->renderSuccess('添加成功', url('business.template/index'));
+            return $this->renderSuccess('添加成功');
         }
         return $this->renderError('添加失败');
     }

--
Gitblit v1.9.2