|
|
@@ -76,7 +76,7 @@ class OrderItemController extends BaseController
|
|
|
$get = Yii::$app->request->get();
|
|
|
$productId = $get['productId'] ?? 0;
|
|
|
$product = ProductClass::getById($productId, true);
|
|
|
- ProductClass::check($product, $this->shopId);
|
|
|
+ ProductClass::check($product, $this->mainId);
|
|
|
$where = ['shopId' => $this->shopId, 'productId' => $productId];
|
|
|
$respond = OrderItemClass::getOrderInfoList($where);
|
|
|
util::success($respond);
|