From 060c1a89c1a7b0466562368485e8b1e3395dd1fd Mon Sep 17 00:00:00 2001 From: "WIN-C27C5MSVTPO\\16961" <1696136552@qq.com> Date: Thu, 24 Jul 2025 15:49:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E8=BD=AC=E8=AE=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/CustomerController.php | 2 +- app/model/Corp.php | 41 +++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 app/model/Corp.php diff --git a/app/controller/CustomerController.php b/app/controller/CustomerController.php index b7269b0..a11c17d 100644 --- a/app/controller/CustomerController.php +++ b/app/controller/CustomerController.php @@ -392,7 +392,7 @@ class CustomerController */ public function cede(Request $request) { - $customerId = Util::getParam($request, 'customer_id'); + $customerId = Util::getParam($request, 'customer_id',[]); $userId = Util::getParam($request, 'user_id'); $selfId = $request->user['id']; if (Util::isEmpty($userId)) { diff --git a/app/model/Corp.php b/app/model/Corp.php new file mode 100644 index 0000000..ecdf67f --- /dev/null +++ b/app/model/Corp.php @@ -0,0 +1,41 @@ +