From 599abed702db9fa5dec90b5660ff039acb6eace7 Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Mon, 24 Nov 2025 18:33:29 +0800
Subject: [PATCH] 1、完成升级赠送价值400元(共40张)平台消费券,每张10元,每次消费只能用一张,消费金额满200元抵一张10元消费券 1、修复分享名片第一次进入是空白 3、修复分红订单不生成问题

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