From 6dca82fe06ffc03d3d7687bfd56b1e96e1bf7c74 Mon Sep 17 00:00:00 2001 From: cody <648753004@qq.com> Date: Thu, 28 Aug 2025 16:12:35 +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 4c97c2c..a539f27 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','company_id')->where('is_schoolmate', 1)->with([ + $query->select('id', 'name', 'username', 'company_position', 'company_id')->where('is_schoolmate', 1)->with([ 'courseSigns' => function ($query) { - $query->select('id','status','user_id')->with('course')->orderBy('fee_status', 'desc'); + $query->select('id', 'status', 'user_id','course_id')->with('course')->orderBy('fee_status', 'desc'); } ]); }