dyjh %!s(int64=6) %!d(string=hai) anos
pai
achega
2aec45a1a2
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  1. 7 0
      app/Http/Controllers/Api/V1/AlbumController.php

+ 7 - 0
app/Http/Controllers/Api/V1/AlbumController.php

xqd
@@ -2032,6 +2032,13 @@ class AlbumController extends Controller
             $customer->phone = $user->phone;
             $customer->avatar = $user->avatar;
             $customer->username = $user->username;
+        } else {
+            $customer = (object)[
+                'purpose_level' => 1,
+                'comment'       => '备注名',
+                'tips'          => '客户有合作意向',
+                'address'       => '四川省成都市'
+            ];
         }
         return $this->api(compact('customer'));
     }