|
|
@@ -14,10 +14,11 @@ use Yii;
|
|
|
|
|
|
class ProductClass extends BaseClass
|
|
|
{
|
|
|
- const LIMIT_BUY_KEY = 'hd_limit_buy:';
|
|
|
- const CLEAR_MARK_KEY = 'hd_limit_buy_clear_at:';
|
|
|
- const CLEAR_LOOP_KEY = 'hd_limit_buy_clear_loop:';
|
|
|
- const LIMIT_BUY_ROLLBACK_SNAPSHOT_KEY = 'hd_limitBuyRollbackSnapshot'; //记录限购旧值快照缓存键
|
|
|
+ const LIMIT_BUY_KEY = 'hd_limit_buy:'; // 零售客户与批发客户不同,这个要与批发不同
|
|
|
+
|
|
|
+ const CLEAR_MARK_KEY = 'limit_buy_clear_at:';
|
|
|
+ const CLEAR_LOOP_KEY = 'limit_buy_clear_loop:';
|
|
|
+ const LIMIT_BUY_ROLLBACK_SNAPSHOT_KEY = 'limitBuyRollbackSnapshot'; //记录限购旧值快照缓存键
|
|
|
|
|
|
public static $baseFile = '\bizHd\product\models\Product';
|
|
|
|