RedisKeyConstant.py 365 B

12345678910111213141516
  1. # -*- encoding: utf-8 -*-
  2. """
  3. @File : RedisKeyConstant.py
  4. @Time : 2024/11/20 15:13
  5. @Author : stephen
  6. @Email : zhangdongming@asj6.wecom.work
  7. @Software: PyCharm
  8. """
  9. from enum import Enum
  10. class RedisKeyConstant(Enum):
  11. # 设备版本信息
  12. ZOSI_DEVICE_VERSION_INFO = 'ZOSI:DEVICE:VERSION:'
  13. # 优惠券id锁
  14. COUPON_ID_LOCK = 'COUPON:ID:LOCK:'