From 488a678bff8ba6e707283b2ff6ce38ecf061a3f3 Mon Sep 17 00:00:00 2001 From: cody <648753004@qq.com> Date: Thu, 28 Aug 2025 16:04:39 +0800 Subject: [PATCH] update --- app/Http/Controllers/Mobile/OtherController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/Mobile/OtherController.php b/app/Http/Controllers/Mobile/OtherController.php index f8ce810..4c97c2c 100755 --- a/app/Http/Controllers/Mobile/OtherController.php +++ b/app/Http/Controllers/Mobile/OtherController.php @@ -156,9 +156,9 @@ class OtherController extends CommonController $query->where('is_schoolmate', 1); })->with([ 'users' => function ($query) { - $query->select('id', 'name', 'company_position')->where('is_schoolmate', 1)->with([ + $query->select('id', 'name', 'company_position','company_id')->where('is_schoolmate', 1)->with([ 'courseSigns' => function ($query) { - $query->select('id','status')->with('course')->orderBy('fee_status', 'desc'); + $query->select('id','status','user_id')->with('course')->orderBy('fee_status', 'desc'); } ]); }