refactor backend module architecture

This commit is contained in:
jxxghp
2026-08-14 15:45:38 +08:00
parent 557cc0e2e3
commit 7b3444c366
716 changed files with 10378 additions and 7709 deletions
+35
View File
@@ -0,0 +1,35 @@
"""插件常用的无状态通用工具。"""
from app.domain.string import StringUtils
from app.foundation.crypto import CryptoJsUtils
from app.foundation.dom import DomUtils
from app.foundation.jieba import cut
from app.foundation.object import ObjectUtils
from app.foundation.singleton import Singleton
from app.infrastructure.system import SystemUtils
from app.platform.execution import log_execution_time, retry
from app.platform.localization import LocaleHelper
from app.platform.scheduling import TimerUtils
from app.security.otp import OtpUtils
decrypt = CryptoJsUtils.decrypt
encrypt = CryptoJsUtils.encrypt
__all__ = [
"CryptoJsUtils",
"DomUtils",
"ObjectUtils",
"OtpUtils",
"LocaleHelper",
"Singleton",
"StringUtils",
"SystemUtils",
"TimerUtils",
"cut",
"decrypt",
"encrypt",
"log_execution_time",
"retry",
]