|
@@ -142,7 +142,7 @@ def initMsgFunc(request):
|
|
|
start_time, end_time = ConstantEnum.PROMOTION_START_TIME.value, ConstantEnum.PROMOTION_END_TIME.value
|
|
|
# 缓存过期时间
|
|
|
expire = end_time - now_time
|
|
|
- if now_time > start_time and expire > 0:
|
|
|
+ if (now_time > start_time and expire > 0) or userID in ConstantEnum.TEST_ACCOUNT_LIST.value:
|
|
|
redis_obj = RedisObject()
|
|
|
distribute_key = RedisKeyConstant.CLOUD_STORAGE_COUPONS.value + userID
|
|
|
is_distributed = redis_obj.get_data(distribute_key)
|