From 69110c094343fa111eee75b0a56fef7dd7995f8a Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Tue, 25 Nov 2025 18:09:45 +0800
Subject: [PATCH] 修复优惠券点击立即使用弹出二维码问题 商家后台添加分销和超级分红 添加活动分享功能 添加商户提现功能
---
admin/app/api/controller/plus/business/Saving.php | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/admin/app/api/controller/plus/business/Saving.php b/admin/app/api/controller/plus/business/Saving.php
index e01e3a3..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));
}
@@ -36,7 +38,7 @@
if((new SavingModel())->add($param)){
return $this->renderSuccess('');
}
- return $this->renderError();
+ return $this->renderError('');
}
/**
--
Gitblit v1.9.2