|
|
@@ -6,7 +6,6 @@
|
|
|
|
|
|
namespace common\components\rabbitmq;
|
|
|
|
|
|
-use bizGhs\order\classes\OrderItemClass;
|
|
|
use bizGhs\product\classes\ProductClass;
|
|
|
use common\components\noticeUtil;
|
|
|
use mikemadisonweb\rabbitmq\components\ConsumerInterface;
|
|
|
@@ -106,7 +105,7 @@ class stockConsumer implements ConsumerInterface
|
|
|
return true;
|
|
|
}
|
|
|
|
|
|
- $result = OrderItemClass::clearLimitBuyByProductId($productId);
|
|
|
+ $result = ProductClass::clearLimitBuyByProductId($productId);
|
|
|
if ($result) {
|
|
|
ProductClass::clearLimitBuyClearMark($productId);
|
|
|
Yii::info('限购字段清理完成: ' . json_encode([
|