Ver Fonte

feat:技师端-获取技师定位

刘学玺 há 4 meses atrás
pai
commit
d4fc151566
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      app/Services/Coach/AccountService.php

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

@@ -678,7 +678,7 @@ class AccountService
      * @return CoachLocation 位置信息
      * @throws \Illuminate\Http\Exceptions\HttpResponseException 当位置信息不存在时抛出404异常
      */
-    private function getLocationByType(CoachUser $coach, int $type): array
+    private function getLocationByType(CoachUser $coach, int $type): CoachLocation
     {
         // 获取指定类型的位置记录
         $location = $coach->locations()