|
|
@@ -2886,7 +2886,7 @@ class ProductClass extends BaseClass
|
|
|
return $info;
|
|
|
}
|
|
|
|
|
|
- $info['limitBuyClearType'] = 1;
|
|
|
+ $info['limitBuyClearType'] = 2;
|
|
|
$info['limitBuyClearTypeName'] = '定时清空';
|
|
|
$info['limitBuyClearAt'] = $clearAt;
|
|
|
$info['limitBuyClearTime'] = date('Y-m-d H:i:s', $clearAt);
|
|
|
@@ -2895,7 +2895,7 @@ class ProductClass extends BaseClass
|
|
|
|
|
|
$loopConfig = self::getLimitBuyClearLoopConfigByProductId($productId);
|
|
|
if (!empty($loopConfig)) {
|
|
|
- $info['limitBuyClearType'] = 2;
|
|
|
+ $info['limitBuyClearType'] = 1;
|
|
|
$info['limitBuyClearTypeName'] = '循环清空';
|
|
|
$info['limitBuyClearIntervalDays'] = intval($loopConfig['intervalDays'] ?? 0);
|
|
|
$info['cleartAt'] = intval($loopConfig['clearHour'] ?? 0);
|