Browse Source

feat: 添加教练详细信息中的正式照片字段

- 在AccountService的getCoachDetail方法中新增'formal_photo'字段,以提供教练的正式照片信息。
- 此更改增强了教练详情的返回数据,提升了用户界面的信息丰富性。
刘学玺 3 months ago
parent
commit
80062c1bec
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Services/Coach/AccountService.php

+ 1 - 0
app/Services/Coach/AccountService.php

@@ -333,6 +333,7 @@ class AccountService
                 'work_status_text' => $coach->work_status
                     ? TechnicianWorkStatus::fromValue($coach->work_status)->label()
                     : null,
+                'formal_photo' => $coach->formal_photo,
             ],
             [
                 'auth_status' => $authStatus,