|
@@ -231,8 +231,8 @@ class Merchant extends BaseController
|
|
231
|
if (!empty($hasProductMerIdList) && is_array($hasProductMerIdList)) {
|
231
|
if (!empty($hasProductMerIdList) && is_array($hasProductMerIdList)) {
|
|
232
|
$query->whereIn('mer_id', $hasProductMerIdList);
|
232
|
$query->whereIn('mer_id', $hasProductMerIdList);
|
|
233
|
}
|
233
|
}
|
|
234
|
- return app('json')->success(['list'=>$hasProductMerIdList]);
|
|
|
|
235
|
-// $mer_list = $query->page($page)->limit($limit)->select();
|
|
|
|
|
|
234
|
+ $mer_list = $query->page($page)->limit($limit)->select();
|
|
|
|
235
|
+ return app('json')->success(['list'=>$mer_list]);
|
|
236
|
// $where['is_gift_bag'] = 0;
|
236
|
// $where['is_gift_bag'] = 0;
|
|
237
|
// $where['is_used'] = 1;
|
237
|
// $where['is_used'] = 1;
|
|
238
|
// $where['product_type'] = 0;
|
238
|
// $where['product_type'] = 0;
|