From 097a5f9e524acd965fa2abcfd18db30fc3f00ddb Mon Sep 17 00:00:00 2001
From: huangsijun <1773182001@qq.com>
Date: Thu, 11 Dec 2025 16:25:55 +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