UnisKB/apps/common/constants/cache_code_constants.py

19 lines
457 B
Python
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# 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'