feat: update Dockerfile for multi-stage build and add frontend themes; update dependencies in requirements.txt

This commit is contained in:
Lan
2026-01-24 10:31:43 +08:00
parent bf43727531
commit f5a5e03269
3 changed files with 35 additions and 10 deletions
+2 -2
View File
@@ -4,12 +4,12 @@
# @Software: PyCharm
from typing import Generic, TypeVar
from pydantic.v1.generics import GenericModel
from pydantic import BaseModel
T = TypeVar("T")
class APIResponse(GenericModel, Generic[T]):
class APIResponse(BaseModel, Generic[T]):
code: int = 200
message: str = "ok"
detail: T