From ca425b889f3c1b5847ffc26a0229307f7f8ef43e Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Tue, 09 Dec 2025 16:11:31 +0800
Subject: [PATCH] 添加消费券 商户端添加页面diy

---
 admin/app/api/controller/plus/business/Saving.php |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/admin/app/api/controller/plus/business/Saving.php b/admin/app/api/controller/plus/business/Saving.php
index 4856ffc..3e9290a 100644
--- a/admin/app/api/controller/plus/business/Saving.php
+++ b/admin/app/api/controller/plus/business/Saving.php
@@ -14,6 +14,8 @@
     {
         $model = new SavingModel();
         $params=$this->request->param();
+        $user=$this->getUser();
+        $params['affiliation_id']=$user['user_id'];
         return $this->renderSuccess('',$model->lists($params));
     }
     

--
Gitblit v1.9.2