MaxKB/apps/common/constants/cache_code_constants.py
2024-07-25 10:41:38 +08:00

19 lines
457 B
Python
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# coding=utf-8
"""
@project: MaxKB
@Author
@file cache_code_constants.py
@date2024/7/24 18:20
@desc:
"""
from enum import Enum
class CacheCodeConstants(Enum):
# 应用ACCESS_TOKEN缓存
APPLICATION_ACCESS_TOKEN_CACHE = 'APPLICATION_ACCESS_TOKEN_CACHE'
# 静态资源缓存
STATIC_RESOURCE_CACHE = 'STATIC_RESOURCE_CACHE'
# 应用API_KEY缓存
APPLICATION_API_KEY_CACHE = 'APPLICATION_API_KEY_CACHE'