后台顾客管理
This commit is contained in:
parent
0bf5b06163
commit
116c7c5c45
|
|
@ -30,7 +30,8 @@ class CustomerController extends Controller
|
|||
$customers = CustomerRepo::list($request->only(['name', 'email', 'status', 'from', 'customer_group_id']));
|
||||
|
||||
$data = [
|
||||
'customers' => CustomerResource::collection($customers)->jsonSerialize(),
|
||||
'customers' => $customers,
|
||||
'customers_format' => CustomerResource::collection($customers)->jsonSerialize(),
|
||||
'customer_groups' => CustomerGroupDetail::collection(CustomerGroupRepo::list())->jsonSerialize(),
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue