|
|
@@ -93,6 +93,13 @@ class ProductController extends BaseController
|
|
|
$shopId = $this->shopId;
|
|
|
}
|
|
|
$where['shopId'] = $shopId;
|
|
|
+ $productIds = Yii::$app->request->get('ids','');
|
|
|
+ if(!empty($productIds)){
|
|
|
+ $productIdArr = explode(',',$productIds);
|
|
|
+ if(!empty($productIdArr)){
|
|
|
+ $where['id'] = ['in', $productIdArr];
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
$type = Yii::$app->request->get('type', '');
|
|
|
$showPage = Yii::$app->request->get('showPage', 0);
|