|
@@ -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'));
|
|
}
|
|
}
|