|
|
@@ -1978,6 +1978,12 @@ class ProductClass extends BaseClass
|
|
|
} else {
|
|
|
util::fail('清空时间必须大于当前时间');
|
|
|
}
|
|
|
+ } else { // 没有设置清空时间,则删除缓存
|
|
|
+ if ($type == 'ghs') {
|
|
|
+ self::createLimitBuyCache($id, 0);
|
|
|
+ } else {
|
|
|
+ \bizHd\product\classes\ProductClass::createLimitBuyCache($id, 0);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|