From 0368a9e52986b67493f10b7e21e8b6536a25fa6a Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Wed, 05 Nov 2025 17:46:07 +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