Browse Source

fixed:用户端-申请技师

刘学玺 3 months ago
parent
commit
5d9d118d0b
1 changed files with 3 additions and 1 deletions
  1. 3 1
      app/Services/Client/UserService.php

+ 3 - 1
app/Services/Client/UserService.php

@@ -507,7 +507,9 @@ class UserService
             }
 
             // 获取最新的申请记录
-            return $coach->info;
+            return $coach->infoRecords()
+                ->latest()
+                ->first();
         } catch (\Exception $e) {
             Log::error('获取技师申请记录失败', [
                 'error' => $e->getMessage(),