dyjh 6 年之前
父节点
当前提交
2aec45a1a2
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      app/Http/Controllers/Api/V1/AlbumController.php

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

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