Ver Fonte

fixed:技师端-红线问题

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

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

@@ -455,7 +455,7 @@ class AccountService
      * 1. 获取指定类型的位置记录
      * 2. 返回格式化的位置数据
      *
-     * @param MemberUser $user 认证用户
+     * @param User $user 认证用户
      * @param int $type 位置类型 (1:当前位置 2:常用位置)
      * @return array 位置信息,包含:
      *        - province: string 省份
@@ -467,7 +467,7 @@ class AccountService
      *        - latitude: float 纬度
      *        - updated_at: string 更新时间
      */
-    public function getLocation(MemberUser $user, int $type): array
+    public function getLocation($user, int $type): array
     {
         // 获取指定类型的位置记录
         $location = $this->getLocationByType($user->coach, $type);