|
@@ -179,6 +179,10 @@ class ProductController extends BaseController
|
|
|
$where = [];
|
|
$where = [];
|
|
|
$where['sjId'] = $this->sjId;
|
|
$where['sjId'] = $this->sjId;
|
|
|
$where['shopId'] = $this->shopId;
|
|
$where['shopId'] = $this->shopId;
|
|
|
|
|
+ $classId = Yii::$app->request->get('classId', 0);
|
|
|
|
|
+ if (!empty($classId)) {
|
|
|
|
|
+ $where['classId'] = $classId;
|
|
|
|
|
+ }
|
|
|
$status = Yii::$app->request->get('status', 0);
|
|
$status = Yii::$app->request->get('status', 0);
|
|
|
if (!empty($status)) {
|
|
if (!empty($status)) {
|
|
|
$where['status'] = $status;
|
|
$where['status'] = $status;
|