chore: initial commit — leaudit-platform project skeleton

17-table PostgreSQL schema with full Chinese column comments,
FastAPI project structure (admin/common/modules),
DSL rule files, and schema migration scripts.
This commit is contained in:
wren
2026-04-27 16:48:22 +08:00
commit 535d97a70c
142 changed files with 25219 additions and 0 deletions
@@ -0,0 +1,14 @@
"""业务异常基类。"""
from __future__ import annotations
from fastapi_common.fastapi_common_web.domain.responses import StatusCodeEnum
class BusinessException(Exception):
"""所有业务异常继承此类。"""
def __init__(self, status: StatusCodeEnum, message: str):
self.status = status
self.message = message
super().__init__(message)
@@ -0,0 +1,7 @@
"""LeAudit 域异常。"""
from fastapi_common.fastapi_common_web.exception.Base.BusinessException import BusinessException
class LeauditException(BusinessException):
"""LeAudit 模块异常。"""